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::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_pre_insert_comment | Filters a comment before it is inserted via the REST API. |
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/rest-api.php: rest_url() | Retrieves the URL to a REST endpoint. |
wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. |
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/pluggable.php: is_user_logged_in() | Determines whether the current visitor is a logged in user. |
wp-includes/pluggable.php: wp_get_current_user() | Retrieve the current user object. |
wp-includes/functions.php: current_time() | Retrieves the current time based on specified type. |
wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. |
wp-includes/plugin.php: do_action() | Execute functions hooked on a specific action hook. |
wp-includes/option.php: get_option() | Retrieves an option value based on an option name. |
wp-includes/comment.php: wp_insert_comment() | Inserts a comment into the database. |
wp-includes/comment.php: wp_filter_comment() | Filters and sanitizes comment data. |
wp-includes/comment.php: wp_allow_comment() | Validates whether this comment is allowed to be made. |
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. |