get_pagenum_link

Advertisement

Summery Summery

Filters the page number link for the current request.

Syntax Syntax

apply_filters( 'get_pagenum_link', string $result, int $pagenum )

Parameters Parameters

$result

(string) The page number link.

$pagenum

(int) The page number.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.2.0 Added the $pagenum argument.
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.