wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_route_for_post_type_items › WordPress Filter Hooks
Since5.9.0
Deprecatedn/a
› apply_filters( 'rest_route_for_post_type_items', $route, $post_type )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters the REST API route for a post type.
Related Functions: rest_get_route_for_post_type_items, rest_get_route_for_taxonomy_items, rest_get_route_for_post, rest_get_route_for_term, register_post_type, unregister_post_type