ClassicPress logo
Skip to content
Filter by type:

Browse:

  • Home
  • wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php

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

rest_after_insert_comment

Action Hook: Fires completely after a comment is created or updated via the REST API.

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

Used by 2 functions | Uses 0 functions

WP_REST_Comments_Controller::update_item_permissions_check()

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

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

Used by 0 functions | Uses 2 functions

WP_REST_Comments_Controller::handle_status_param()

Method: Sets the comment_status of a given comment object when creating or updating a comment.

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

Used by 2 functions | Uses 0 functions

WP_REST_Comments_Controller::update_item()

Method: Updates a comment.

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

Used by 0 functions | Uses 8 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::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::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::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::check_edit_permission()

Method: Checks if a comment can be edited or deleted.

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

Used by 2 functions | Uses 1 function
1 2 … 4 Next »
ClassicPress Documentation • Made with ClassicPress
Privacy Policy