WordPress hook directory
rest_preprocess_comment

WordPress version history for rest_preprocess_comment

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
4.7 wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 1117 View in context filter
4.8 wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 1149 View in context filter
4.9 wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 1132 View in context filter
5.0 wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 1190 View in context filter
5.1 wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php 1207 View in context filter

Related Hooks

We find related hooks using word stems. rest_preprocess_comment has 3 significant word stem(s): rest, preprocess, comment. Note that some of the hooks below may not appear in all versions of WP.