WordPress at a glance
filter is not described

get_pagenum_link filter-hook . WP 2.5.0

Filters the page number link for the current request.

Usage

add_filter( 'get_pagenum_link', 'filter_function_name_6506', 10, 2 );
function filter_function_name_6506( $result, $pagenum ){
	// filter...

	return $result;
}
$result(string)
The page number link.
$pagenum(int)
The page number.

Notes

  • Since 5.2.0 Added the $pagenum argument.

Where the hook is called

get_pagenum_link()
get_pagenum_link
wp-includes/link-template.php 2256
$result = apply_filters( 'get_pagenum_link', $result, $pagenum );

Where the hook is used (in WP core)

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