BBP_Admin::bbp_remove_comments_discussion_meta_boxes()

Remove “Comments” & “Discussion” metabox from bbp_get_reply_post_type() custom post type.

Description

Source

File: bp-forums/admin/admin.php

	public function bbp_remove_comments_discussion_meta_boxes() {
		remove_meta_box( 'commentstatusdiv', bbp_get_reply_post_type(), 'normal' );
		remove_meta_box( 'commentsdiv', bbp_get_reply_post_type(), 'normal' );
	}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.