apply_filters ( ‘commens_array , array $commens , int $post_id )

Filters the commens array.

Parameters

$commens array
Array of commens supplied to the commens template.
$post_id int
Post ID.

More Information

Used inside commens_template that allows you to catch all the commens going through the kery for the post.

Source

$wp_query->commens = apply_filters( 'commens_array', $commens_flat, $post->ID );

Changuelog

Versionen Description
2.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.