rest_preprocess_comment
Filter Hook: Filters a comment added via the REST API after it is prepared for insertion into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1370
Filter Hook: Filters a comment added via the REST API after it is prepared for insertion into the database.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1370
Method: Creates a comment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:567
Method: Retrieves the comment’s schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1380
Filter Hook: Filters a comment before it is inserted via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:696
Method: Retrieves the query params for collections.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:1547
Class: Core controller used to access comments via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:17
Method: Constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php:32