WordPress开发者和主题制作者的搜索引擎



get_page_uri ›

Since4.4.0
已弃用n/a
apply_filters( 'get_page_uri', $uri, $page )
参数: (2)
  • (string) $uri Page URI.
    Required: Yes
  • (WP_Post) $page Page object.
    Required: Yes
定义在:
文档:

Filters the URI for a page.





源码

return apply_filters( 'get_page_uri', $uri, $page );