apply_filters( 'comments_open', bool $open, int|WP_Post $post_id )

Filters whether the current post is open for comments.


Description Description


Parameters Parameters

$open

(bool) Whether the current post is open for comments.

$post_id

(int|WP_Post) The post ID or WP_Post object.


Top ↑

Source Source

File: wp-includes/comment-template.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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