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