ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • 4.7.0
  • Page 26

WP_REST_Posts_Controller::sanitize_post_statuses()

Method: Sanitizes and validates the list of post statuses, including whether the user can query private statuses.

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

Used by 0 functions | Uses 1 function

WP_REST_Controller::get_item()

Method: Retrieves one item from the collection.

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

Used by 0 functions | Uses 0 functions

WP_REST_Controller::update_additional_fields_for_object()

Method: Updates the values of additional fields added to a data object.

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

Used by 0 functions | Uses 0 functions

WP_REST_Post_Types_Controller

Class: Core class to access post types via the REST API.

Source: wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php:17

Used by 0 functions | Uses 1 function

WP_REST_Controller::create_item_permissions_check()

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

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

Used by 0 functions | Uses 0 functions

WP_REST_Controller::add_additional_fields_schema()

Method: Adds the schema from additional fields to a schema array.

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

Used by 0 functions | Uses 0 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

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 … 25 26 27 … 52 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy