Description
Filters the REST API route for a post.
Occurrences
Filename | Line Number |
---|---|
wp-includes/rest-api.php | 3149 |
Parameters
Type | Name | Description |
---|---|---|
string | $route | The route path. |
WP_Post | $post | The post object. |
PHP Doc
/**
* 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.
*/