bp_core_admin_components_settings()
Renders the Component Setup admin panel.
Description
Source
File: bp-core/admin/bp-core-admin-components.php
function bp_core_admin_components_settings() { // Flush the rewrite rule to work forum on newly assigned the page. if ( isset( $_GET['added'] ) && 'true' === $_GET['added'] ) { flush_rewrite_rules( true ); } ?> <div class="wrap"> <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Components', 'buddyboss' ) ); ?></h2> <form action="" method="post" id="bp-admin-component-form"> <?php bp_core_admin_components_options(); ?> <?php wp_nonce_field( 'bp-admin-component-setup' ); ?> </form> </div> <?php }
Changelog
Version | Description |
---|---|
BuddyPress 1.6.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.