Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::get_post() | Get the post, if the ID is valid. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_response() | Prepares a single post output for response. |
wp-includes/rest-api.php: rest_ensure_response() | Ensures a REST response is a response object (for consistency). |
wp-includes/post.php: is_post_type_viewable() | Determines whether a post type is considered “viewable”. |
wp-includes/link-template.php: get_permalink() | Retrieves the full permalink for the current post or post ID. |
wp-includes/post.php: get_post_type_object() | Retrieves a post type object by name. |
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |