Filters whether the current post is open for comments.
Parameters
$comments_open
bool- Whether the current post is open for comments.
$post_id
int- The post ID.
Source
return apply_filters( 'comments_open', $comments_open, $post_id );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.