apply_filters( 'get_page_uri', string $uri, WP_Post $page )
- Since
- 4.4.0
Filters the URI for a page.
Parameters
$uristring- Page URI.
$pageWP_Post- Page object.
Fired at · 1
wp-includes/post.php:6281get_page_uri()
Source
View on Trac ↗View on GitHub ↗
6275 *6276 * @since 4.4.06277 *6278 * @param string $uri Page URI.6279 * @param WP_Post $page Page object.6280 */6281 return apply_filters( 'get_page_uri', $uri, $page );6282}6283 6284/**6285 * Retrieves an array of pages (or hierarchical post type items).6286 *6287 * @since 1.5.0
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.