Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/rest-api.php | apply_filters | 3142 | /** * Filters the REST API route for a post type. * * @since 5.9.0 * * @param string $route The route path. * @param WP_Post_Type $post_type The post type object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $route | The route path. |
WP_Post_Type | $post_type | The post type object. |