Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: rest_after_insert_{$this->post_type} | Fires after a single post is completely created or updated via the REST API. |
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::get_item_schema() | Retrieves the post’s schema, conforming to JSON Schema. |
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/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::handle_featured_media() | Determines the featured media based on a request param. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::handle_template() | Sets the template for a post. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::handle_terms() | Updates the post’s terms from a REST request. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: WP_REST_Posts_Controller::prepare_item_for_database() | Prepares a single post for create or update. |
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php: rest_insert_{$this->post_type} | Fires after a single post is created or updated via the REST API. |
wp-includes/rest-api.php: rest_ensure_response() | Ensures a REST response is a response object (for consistency). |
wp-includes/formatting.php: wp_slash() | Add slashes to a string or array of strings, in a recursive manner. |
wp-includes/plugin.php: do_action() | Execute functions hooked on a specific action hook. |
wp-includes/post.php: wp_update_post() | Update a post with new post data. |
wp-includes/post.php: stick_post() | Make a post sticky. |
wp-includes/post.php: unstick_post() | Un-stick a post. |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |
wp-includes/post-formats.php: set_post_format() | Assign a format to a post |
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |