get_comments_pagenum_link хук-фильтрWP 2.7.0

Filters the comments page number link for the current request.

Использование

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(строка)
The comments page number link.

Список изменений

С версии 2.7.0 Введена.

Где вызывается хук

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

Где используется хук в WordPress

Использование не найдено.