wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_route_for_post › WordPress Filter Hooks
Since5.5.0
Deprecatedn/a
› apply_filters( 'rest_route_for_post', $route, $post )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters the REST API route for a post.
Related Functions: rest_get_route_for_post, rest_get_route_for_term, rest_get_route_for_post_type_items, _reset_front_page_settings_for_post, get_the_author_posts, rest_ensure_response