comments_array

Advertisement

Summery Summery

Filters the comments array.

Syntax Syntax

apply_filters( 'comments_array', array $comments, int $post_ID )

Parameters Parameters

$comments

Array of comments supplied to the comments template.

$post_ID

Post ID.

Source Source

File: wp-includes/comment-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply