xprofile_screen_edit_profile

  • do_action( 'xprofile_screen_edit_profile' )

    Source Reference:

    • Component: BuddyPress:: bp-xprofile
      File: /bp-xprofile/bp-xprofile-screens.php :: Trac Source Line: 120
      				bp_core_add_message( __( 'There was a problem updating some of your profile information, please try again.', 'buddypress' ), 'error' );
      			else
      				bp_core_add_message( __( 'Changes saved.', 'buddypress' ) );
      
      			// Redirect back to the edit screen to display the updates and message
      			bp_core_redirect( trailingslashit( bp_displayed_user_domain() . $bp->profile->slug . '/edit/group/' . bp_action_variable( 1 ) ) );
      		}
      	}
      
      	do_action( 'xprofile_screen_edit_profile' );
      	bp_core_load_template( apply_filters( 'xprofile_template_edit_profile', 'members/single/home' ) );
      }
      
      /**
       * Handles the uploading and cropping of a user avatar. Displays the change avatar page.
       *
       * @package BuddyPress XProfile
       * @uses bp_is_my_profile() Checks to make sure the current user being viewed equals the logged in user
       * @uses bp_core_load_template() Looks for and loads a template file within the current member theme (folder/filename)
       */
      

Comments are closed.