bp_get_avatar_admin_step

  • apply_filters( 'bp_get_avatar_admin_step', $step )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 122
      }
      	function bp_get_avatar_admin_step() {
      		global $bp;
      
      		if ( isset( $bp->avatar_admin->step ) )
      			$step = $bp->avatar_admin->step;
      		else
      			$step = 'upload-image';
      
      		return apply_filters( 'bp_get_avatar_admin_step', $step );
      	}
      
      function bp_avatar_to_crop() {
      	echo bp_get_avatar_to_crop();
      }
      	function bp_get_avatar_to_crop() {
      		global $bp;
      
      		if ( isset( $bp->avatar_admin->image->url ) )
      			$url = $bp->avatar_admin->image->url;
      

Comments are closed.