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_approved_comments, register_block_core_comments, get_page_of_comment, separate_comments, get_previous_comments_link, register_block_core_comment_date