Uses
| Uses | Description | 
|---|---|
| wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_is_post_type_allowed() | Checks if a given post type can be viewed or managed. | 
| wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. | 
| wp-includes/post.php: get_post_type_object() | Retrieves a post type object by name. |