wp_dropdown_users

FUNCTION wp-includes\user.php (ligne 1642) github
Creates dropdown HTML content of users. The content can either be displayed, which it is by default, or retrieved by setting the 'echo' argument to false. The 'include' and 'exclude' arguments are optional; if they are not specified, all users will be displayed. Only one can be used in a single call, either 'include' or 'exclude', but not both.

Paramètres

Entrée :
$args = ''
Sortie :
@param array|string $args {
@return string HTML dropdown list of users.

Utilisation

// Utilisation de la fonction wp_dropdown_users
$result = wp_dropdown_users($args = '');

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...