bp_tags_admin_tags_listing_add_tab()
Add Navigation tab on top of the page BuddyBoss > Forums > Tags Templates
Description
Source
File: bp-forums/admin.php
function bp_tags_admin_tags_listing_add_tab() { global $pagenow ,$current_screen; if ( ( $current_screen->taxonomy == bbp_get_topic_tag_tax_id() && $pagenow == 'edit-tags.php' ) || ( $current_screen->taxonomy == bbp_get_topic_tag_tax_id() && $pagenow == 'term.php' ) ) { ?> <div class="wrap"> <h2 class="nav-tab-wrapper"><?php bp_core_admin_forums_tabs( __( 'Discussion Tags', 'buddyboss' ) ); ?></h2> </div> <?php } }
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.