wordpress / latest / hooks / get_page_uri.html

apply_filters( 'get_page_uri', string $uri, WP_Post $page )

Filters the URI for a page.

Parameters

$uri string
Page URI.
$page WP_Post
Page object.

Source

File: wp-includes/post.php. View all references

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

Used By

Used By Description

Changelog

Version Description
4.4.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_page_uri