wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_prepare_comment › WordPress Filter Hooks
Since4.7.0
Deprecatedn/a
› apply_filters( 'rest_prepare_comment', $response, $comment, $request )
Parameters: (3) |
|
Defined at: | |
Codex: |
Filters a comment returned from the REST API.
Allows modification of the comment right before it is returned.
Related Functions: separate_comments, get_page_of_comment, get_approved_comments, get_comment, wp_update_comment, the_comment