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/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::check_read_permission() | Checks if a post can be read. |
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. |
wp-includes/post.php: get_post_status_object() | Retrieve a post status object by name. |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |