rest_delete_comment

rest_delete_comment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('rest_delete_comment') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php line 1025
    		 * @param WP_Comment       $comment  The deleted comment data.
    		 * @param WP_REST_Response $response The response returned from the API.
    		 * @param WP_REST_Request  $request  The request sent to the API.
    		 */
    		do_action( 'rest_delete_comment', $comment, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Prepares a single comment output for response.