wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_preprocess_comment › WordPress Filter Hooks
Since4.7.0
Deprecatedn/a
› apply_filters( 'rest_preprocess_comment', $prepared_comment, $request )
Parameters: (2) |
|
Defined at: | |
Codex: |
Filters a comment added via the REST API after it is prepared for insertion into the database.
Allows modification of the comment right after it is prepared for the database.
Related Functions: get_previous_comments_link, _wp_die_process_input, the_comment, wp_trash_post_comments, previous_comments_link, wp_ajax_replyto_comment