W3cubDocs

/WordPress

apply_filters( ‘get_page_uri’, string $uri, WP_Post $page )

Filters the URI for a page.

Parameters

$uristring
Page URI.
$pageWP_Post
Page object.

Source

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

Changelog

Version Description
4.4.0 Introduced.

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