settings->slug ); } /** * Output the settings component root slug * * @package BuddyPress * @subpackage SettingsTemplate * @since BuddyPress (1.5) * * @uses bp_get_settings_root_slug() */ function bp_settings_root_slug() { echo bp_get_settings_root_slug(); } /** * Return the settings component root slug * * @package BuddyPress * @subpackage SettingsTemplate * @since BuddyPress (1.5) */ function bp_get_settings_root_slug() { return apply_filters( 'bp_get_settings_root_slug', buddypress()->settings->root_slug ); } /** * Add the 'pending email change' message to the settings page. * * @since BuddyPress (2.1.0) */ function bp_settings_pending_email_notice() { $pending_email = bp_get_user_meta( bp_displayed_user_id(), 'pending_email_change', true ); if ( empty( $pending_email['newemail'] ) ) { return; } if ( bp_get_displayed_user_email() == $pending_email['newemail'] ) { return; } ?>
%1$s.
Check your email (%2$s) for the verification link. Cancel', 'buddypress' ), $pending_email['newemail'], bp_get_displayed_user_email(), esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' ) ) ?>