get_comments_pagenum_link

FUNCTION wp-includes\link-template.php (ligne 3047) github
Filters the navigation markup template. Note: The filtered template HTML must contain specifiers for the navigation

Paramètres

Entrée :
$pagenum = 1, $max_page = 0
Sortie :
@param string $template  The default template.
@param string $css_class The class passed by the calling function.
@param int $pagenum  Optional. Page number. Default 1.
@param int $max_page Optional. The maximum number of comment pages. Default 0.
@return string The comments page number link URL.

Utilisation

// Utilisation de la fonction get_comments_pagenum_link
$result = get_comments_pagenum_link($pagenum = 1, $max_page = 0);

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

Actualités

Chargement des actualités...