ClassicPress logo
Skip to content
Filter by type:

Browse:

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

rest_{$this->post_type}_collection_params

Filter Hook: Filters collection parameters for the posts controller.

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

Used by 1 function | Uses 0 functions

WP_REST_Posts_Controller::handle_terms()

Method: Updates the post’s terms from a REST request.

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

Used by 2 functions | Uses 0 functions

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:2959

Used by 0 functions | Uses 1 function

WP_REST_Posts_Controller::check_assign_terms_permission()

Method: Checks whether current user can assign all terms sent with the current request.

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

Used by 2 functions | Uses 1 function

WP_REST_Posts_Controller::check_is_post_type_allowed()

Method: Checks if a given post type can be viewed or managed.

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

Used by 4 functions | Uses 0 functions

WP_REST_Posts_Controller::check_read_permission()

Method: Checks if a post can be read.

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

Used by 3 functions | Uses 3 functions

WP_REST_Posts_Controller::check_update_permission()

Method: Checks if a post can be edited.

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

Used by 3 functions | Uses 2 functions

WP_REST_Posts_Controller::check_create_permission()

Method: Checks if a post can be created.

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

Used by 0 functions | Uses 2 functions

WP_REST_Posts_Controller::check_delete_permission()

Method: Checks if a post can be deleted.

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

Used by 2 functions | Uses 2 functions

WP_REST_Posts_Controller::prepare_item_for_response()

Method: Prepares a single post output for response.

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

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