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:6228get_page_uri()
Source
View on Trac ↗View on GitHub ↗
6222 *6223 * @since 4.4.06224 *6225 * @param string $uri Page URI.6226 * @param WP_Post $page Page object.6227 */6228 return apply_filters( 'get_page_uri', $uri, $page );6229}6230 6231/**6232 * Retrieves an array of pages (or hierarchical post type items).6233 *6234 * @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.7.7 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.