Filters the array of pages to exclude from the pages list.
$args = array(
Sortie :
@param string[] $exclude_array An array of page IDs to exclude.
@param string $output HTML output of the pages list.
@param array $parsed_args An array of page-listing arguments. See wp_list_pages()
@param WP_Post[] $pages Array of the page objects.
@param array|string $args {
@return void|string Void if 'echo' argument is true, HTML menu if 'echo' is false.
// Utilisation de la fonction wp_page_menu
$result = wp_page_menu($args = array();
if ($result) {
// Votre logique ici
}
Chargement des actualités...