bp_xprofile_screen_settings()
Show the xprofile settings template.
Description
Source
File: bp-xprofile/screens/settings-profile.php
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
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.