wordpress-develop
wordpress-develop copied to clipboard
Add `get_page_by_path` hooks
Adds a couple of hooks to filter values inside the function get_page_by_path.
page_by_path_cache_keyfilters the value for the cache key.page_by_path_idfilters the found ID.
Trac ticket: core.trac.wordpress.org/ticket/57622
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.