3212*3213* @since 5.5.03214*3215* @param string$route The route path.3216* @param WP_Post$post The post object.3217*/3218returnapply_filters('rest_route_for_post',$route,$post);3219}32203221/**3222* Gets the RESTAPI route for a post type.3223*3224* @since 5.9.0
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.