Sample

get_results(“SELECT ID, display_name FROM $wpdb->users ORDER BY ID”);

foreach ( $wp_user_search as $userid ) {
$user_id = (int) $userid->ID;
$user_login = stripslashes($userid->user_login);
$display_name = stripslashes($userid->display_name);

$return = ”;
$return .= “t” . ‘

  • ‘. $display_name .’
  • ‘ . “n”;

    print($return);
    }
    ?>

    Leave a Reply

    Your email address will not be published. Required fields are marked *