rest_route_for_post_type_items – filter

Filters the REST API route for a post type. 

Parameters

.
( 5.9.0 ) . .
( string ) $route The route path. . . .
$post_type
( WP_Post_Type ) The post type object. . . .
API Letters: ,,,

Implementers