de

wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren




get_users [ WordPress Function ]

get_users ( $args = array() )
Parameter:
  • (array) $args Optional.
Nutzt:
  • $wpdb
  • WP_User_Query
Gibt zurück:
  • (array) List of users.
Definiert in:



Retrieve list of users matching criteria.

Source


<?php
function get_users$args = array() ) {

    
$args wp_parse_args$args );
    
$args['count_total'] = false;

    
$user_search = new WP_User_Query($args);

    return (array) 
$user_search->get_results();
}
?>

Beispiele [ wp-snippets.com ]

Top Google Suchergebnisse

Mehr ...

0 Nutzerkommentare

Noch keine. Sei der Erste!

Neu hinzufügen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics