get_comment

get_comment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-7.0

apply_filters('get_comment') is found 1 times:

  • /wp-includes/comment.php line 245
    	 * @since 2.3.0
    	 *
    	 * @param WP_Comment|null $_comment Comment data.
    	 */
    	$_comment = apply_filters( 'get_comment', $_comment );
    	if ( ! ( $_comment instanceof WP_Comment ) ) {
    		return null;
    	}
    
    	if ( OBJECT === $output ) {
    		return $_comment;
    

See this hook used in plugins: