BP_Admin_Setting_Xprofile::bp_admin_setting_callback_member_dashboard()

Enable profile dashboard template.

Description

Source

File: bp-core/admin/settings/bp-admin-setting-xprofile.php

214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
public function bp_admin_setting_callback_member_dashboard() {
    ?>
        <input id="bp-enable-member-dashboard" name="bp-enable-member-dashboard" type="checkbox" value="1" <?php checked( bp_nouveau_get_appearance_settings( 'user_front_page' ) ); ?> />
        <label for="bp-enable-member-dashboard"><?php _e( 'Use a WordPress page as each user\'s personal Profile Dashboard', 'buddyboss' ); ?></label>
    <?php
        printf(
            '<p class="description">%s</p>',
            sprintf(
                __( 'This page is only accessible to logged-in users. Create a WordPress page and assign it in the <a href="%s">Pages</a> settings.', 'buddyboss' ),
                add_query_arg([
                    'page' => 'bp-pages',
                ], admin_url( 'admin.php' ) )
            )
        );
}

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.