wp_dropdown_pages

FUNCTION wp-includes\post-template.php (ligne 1149) github
Filters the HTML output of the li element in the post custom fields list.

Paramètres

Entrée :
$args = ''
Sortie :
@param string $html  The HTML output for the li element.
@param string $key   Meta key.
@param string $value Meta value.
@param array|string $args {
@return string HTML dropdown list of pages.

Utilisation

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

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

Actualités

Chargement des actualités...