get_pagenum_link

过滤钩子


apply_filters( 'get_pagenum_link', $result, $pagenum )
参数
  • (string)
    $result
    The page number link.
    Required:
  • (int)
    $pagenum
    The page number.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 2419
引入
5.2.0
弃用

Filters the page number link for the current request.

$result = apply_filters( 'get_pagenum_link', $result, $pagenum );