apply_filters( 'comments_open', bool $open , int $post_id )
Filters whether the current post is open for comments.
Parameters
- $open
-
Whether the current post is open for comments.
- $post_id
-
The post ID.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |