3247*3248* @since 5.5.03249*3250* @param string$route The route path.3251* @param WP_Post$post The post object.3252*/3253returnapply_filters('rest_route_for_post',$route,$post);3254}32553256/**3257* Gets the RESTAPI route for a post type.3258*3259* @since 5.9.0
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.