comments_array

Advertisement

Summery Summery

Filters the comments array.

Syntax Syntax

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

Parameters Parameters

$comments

(array) Array of comments supplied to the comments template.

$post_ID

(int) Post ID.

Source Source

File: wp-includes/comment-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?