Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php: WP_REST_Post_Types_Controller::prepare_item_for_response() | Prepares a post type object for serialization. |
wp-includes/rest-api.php: rest_ensure_response() | Ensures a REST response is a response object (for consistency). |
wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. |
wp-includes/post.php: get_post_types() | Get a list of all registered post type objects. |