Filters the "pages" derived from splitting the post content. "Pages" are determined by splitting the post content based on the presence of `<!-- nextpage -->` tags.
$pages, $post
Sortie :
@param string[] $pages Array of "pages" from the post content split by `<!-- nextpage -->` tags. @param WP_Post $post Current post object.
// Modifier la valeur avec le filtre 'content_pagination'
add_filter('content_pagination', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($pages) {
// Modifier la valeur
return $pages;
}
Chargement des actualités...