ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
  • Page 3

WP_REST_Posts_Controller::get_available_actions()

Method: Gets the link relations available for the post and current user.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2148

Used by 1 function | Uses 1 function

WP_REST_Posts_Controller::get_item_schema()

Method: Retrieves the post’s schema, conforming to JSON Schema.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2203

Used by 4 functions | Uses 4 functions

WP_REST_Posts_Controller::get_schema_links()

Method: Retrieves Link Description Objects that should be added to the Schema for the posts collection.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:2628

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::create_item_permissions_check()

Method: Checks if a given request has access to create a post.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:587

Used by 0 functions | Uses 2 functions

WP_REST_Posts_Controller::check_template()

Method: Checks whether the template is valid for the given post.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1505

Used by 0 functions | Uses 2 functions

WP_REST_Posts_Controller::create_item()

Method: Creates a single post.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:641

Used by 0 functions | Uses 10 functions

WP_REST_Posts_Controller::handle_template()

Method: Sets the template for a post.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1548

Used by 2 functions | Uses 1 function

rest_insert_{$this->post_type}

Action Hook: Fires after a single post is created or updated via the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:708

Used by 2 functions | Uses 0 functions

WP_REST_Posts_Controller::update_item_permissions_check()

Method: Checks if a given request has access to update a post.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:793

Used by 0 functions | Uses 4 functions

WP_REST_Posts_Controller::update_item()

Method: Updates a single post.

Source: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:844

Used by 0 functions | Uses 11 functions
« Previous 1 2 3 4 … 6 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy