ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • Methods
  • Page 255

WP_REST_Comments_Controller::check_is_comment_content_allowed()

Method: If empty comments are not allowed, checks if the provided comment content is not empty.

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

Used by 1 function | Uses 1 function

WP_REST_Comments_Controller::check_read_permission()

Method: Checks if the comment can be read.

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

Used by 2 functions | Uses 2 functions

WP_REST_Comments_Controller::check_read_post_permission()

Method: Checks if the post can be read.

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

Used by 4 functions | Uses 5 functions

WP_REST_Comments_Controller::create_item()

Method: Creates a comment.

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

Used by 0 functions | Uses 11 functions

WP_REST_Comments_Controller::create_item_permissions_check()

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

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

Used by 0 functions | Uses 4 functions

WP_REST_Comments_Controller::delete_item()

Method: Deletes a comment.

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

Used by 0 functions | Uses 6 functions

WP_REST_Comments_Controller::delete_item_permissions_check()

Method: Checks if a given request has access to delete a comment.

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

Used by 0 functions | Uses 2 functions

WP_REST_Comments_Controller::get_collection_params()

Method: Retrieves the query params for collections.

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

Used by 2 functions | Uses 2 functions

WP_REST_Comments_Controller::get_comment()

Method: Get the comment, if the ID is valid.

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

Used by 6 functions | Uses 0 functions

WP_REST_Comments_Controller::get_item()

Method: Retrieves a comment.

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

Used by 0 functions | Uses 2 functions
« Previous 1 … 254 255 256 … 386 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy