bp_core_admin_components_settings()

Renders the Component Setup admin panel.

Description

Source

File: bp-core/admin/bp-core-admin-components.php

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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

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.