3208*3209* @since 5.5.03210*3211* @param string$route The route path.3212* @param WP_Post$post The post object.3213*/3214returnapply_filters('rest_route_for_post',$route,$post);3215}32163217/**3218* Gets the RESTAPI route for a post type.3219*3220* @since 5.9.0
History
Introduced in 5.5.0. Unchanged from 6.7.7 through 7.1.0.