wp_link_pages

FUNCTION wp-includes\post-template.php (ligne 886) github
This filter is documented in wp-includes/post-template.php  		return apply_filters( 'post_password_required', false, $post );

Paramètres

Entrée :
$args = ''
Sortie :
@param bool    $required Whether the user needs to supply a password. True if password has not been
@param WP_Post $post     Post object.
@param string|array $args {
@return string Formatted output in HTML.

Utilisation

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

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

Actualités

Chargement des actualités...