BBP_Forums_Admin::subscriptions_metabox()
Add the subscriptions meta-box
Description Description
Allows viewing of users who have subscribed to a forum.
Source Source
File: includes/admin/forums.php
public function subscriptions_metabox() { // Bail if post_type is not a reply if ( empty( $_GET['action'] ) || ( 'edit' !== $_GET['action'] ) ) { return; } // Bail if no subscriptions if ( ! bbp_is_subscriptions_active() ) { return; } // Add the meta-box add_meta_box( 'bbp_forum_subscriptions_metabox', esc_html__( 'Subscriptions', 'bbpress' ), 'bbp_forum_subscriptions_metabox', $this->post_type, 'normal', 'high' ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |