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:6366get_page_uri()
Source
View on Trac ↗View on GitHub ↗
6360 *6361 * @since 4.4.06362 *6363 * @param string $uri Page URI.6364 * @param WP_Post $page Page object.6365 */6366 return apply_filters( 'get_page_uri', $uri, $page );6367}6368 6369/**6370 * Retrieves an array of pages (or hierarchical post type items).6371 *6372 * @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 7.0.4 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.