Description
Filters whether comments are open or not.
Based on WP’s “comments_open” filter. WP-Members’ default is that if the post is blocked, comments are blocked (“comments_open” is false).
Parameters
$open
(boolean)(required) True if current post is open for comments, otherwise false.
Usage
// Open all comments (whether post is blocked or not) add_filter( 'wpmem_securify_comments', '__return_true' );
Changelog
- Introduced in version 3.0.0
Source
wpmem_securify_comments is located in includes/class-wp-members.php