get_comment

get_comment

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('get_comment') is found 1 times:

  • /wp-includes/comment.php line 225
    	 * @since 2.3.0
    	 *
    	 * @param WP_Comment $_comment Comment data.
    	 */
    	$_comment = apply_filters( 'get_comment', $_comment );
    
    	if ( OBJECT === $output ) {
    		return $_comment;
    	} elseif ( ARRAY_A === $output ) {
    		return $_comment->to_array();
    	} elseif ( ARRAY_N === $output ) {
    

See this hook used in plugins: