bbp_notice_edit_user_success

Edit profile success message.

Description

bbp_notice_edit_user_success(); 

Usage

  1. if ( !function_exists( 'bbp_notice_edit_user_success' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/users/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_notice_edit_user_success(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/users/template.php  
  1. function bbp_notice_edit_user_success() { 
  2. if ( isset( $_GET['updated'] ) && ( bbp_is_single_user() || bbp_is_single_user_edit() ) ) : ?> 
  3.  
  4. <div class="bbp-template-notice updated"> 
  5. <p><?php esc_html_e( 'User updated.', bbpress ); ?></p> 
  6. </div> 
  7.  
  8. <?php endif;