Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: rest_after_insert_comment | Fires completely after a comment is created or updated via the REST API. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_comment() | Get the comment, if the ID is valid. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::handle_status_param() | Sets the comment_status of a given comment object when creating or updating a comment. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::get_item_schema() | Retrieves the comment’s schema, conforming to JSON Schema. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::prepare_item_for_database() | Prepares a single comment to be inserted into the database. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::prepare_item_for_response() | Prepares a single comment output for response. |
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: rest_insert_comment | Fires after a comment is created or updated via the REST API. |
wp-includes/comment.php: wp_check_comment_data_max_lengths() | Compares the lengths of comment data against the maximum character limits. |
wp-includes/rest-api.php: rest_ensure_response() | Ensures a REST response is a response object (for consistency). |
wp-includes/l10n.php: __() | Retrieve the translation of $text. |
wp-includes/formatting.php: wp_slash() | Add slashes to a string or array of strings, in a recursive manner. |
wp-includes/plugin.php: do_action() | Execute functions hooked on a specific action hook. |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |
wp-includes/comment-template.php: get_comment_type() | Retrieves the comment type of the current comment. |
wp-includes/comment.php: wp_update_comment() | Updates an existing comment in the database. |
wp-includes/comment.php: get_comment() | Retrieves comment data given a comment ID or comment object. |
wp-includes/load.php: is_wp_error() | Check whether variable is a WordPress Error. |
wp-includes/class-wp-error.php: WP_Error::__construct() | Initialize the error. |