bp_xprofile_screen_settings()

Show the xprofile settings template.

Description

Source

File: bp-xprofile/screens/settings-profile.php

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
function bp_xprofile_screen_settings() {
 
    // Redirect if no privacy settings page is accessible.
    if ( bp_action_variables() || ! bp_is_active( 'xprofile' ) ) {
        bp_do_404();
        return;
    }
 
    /**
     * Filters the template to load for the XProfile settings screen.
     *
     * @since BuddyPress 2.0.0
     *
     * @param string $template Path to the XProfile change avatar template to load.
     */
    bp_core_load_template( apply_filters( 'bp_settings_screen_xprofile', '/members/single/settings/profile' ) );
}

Changelog

Changelog
Version Description
BuddyPress 2.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.