get_comment WordPress Filter Hook
The get_comment hook is used to get a comment from the database. It is triggered when a comment is retrieved from the database.
apply_filters( 'get_comment', WP_Comment $_comment ) #
Fires after a comment is retrieved.
Parameters
- $_comment
(WP_Comment)Comment data.
Source
File: wp-includes/comment.php
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |