get_comments_pagenum_link filter-hookWP 2.7.0

Filters the comments page number link for the current request.

Usage

add_filter( 'get_comments_pagenum_link', 'wp_kama_get_comments_pagenum_link_filter' );

/**
 * Function for `get_comments_pagenum_link` filter-hook.
 * 
 * @param string $result The comments page number link.
 *
 * @return string
 */
function wp_kama_get_comments_pagenum_link_filter( $result ){

	// filter...
	return $result;
}
$result(string)
The comments page number link.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

get_comments_pagenum_link()
get_comments_pagenum_link
wp-includes/link-template.php 2980
return apply_filters( 'get_comments_pagenum_link', $result );

Where the hook is used in WordPress

Usage not found.