apply_filters( 'bp_force_comment_status', bool $retval, bool $open, int $post_id )

Filters whether or not to force comments_status to closed for BuddyPress post types.

Parameters Parameters


(bool) Whether or not we are on a BuddyPress post type.


(bool) True if comments open, false if closed.


(int) Post ID for the checked post.

Source Source

File: bp-core/bp-core-theme-compatibility.php

View on Trac

Top ↑

Changelog Changelog

Version Description
1.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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