bp_get_signup_avatar

  • apply_filters( 'bp_get_signup_avatar', $gravatar_img, $args )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 1127
      			else
      				$default_grav = $bp->grav_default->user;
      
      			// Create
      			$gravatar_url    = apply_filters( 'bp_gravatar_url', 'http://www.gravatar.com/avatar/' );
      			$md5_lcase_email = md5( strtolower( bp_get_signup_email_value() ) );
      			$gravatar_img    = '<img src="' . $gravatar_url . $md5_lcase_email . '?d=' . $default_grav . '&amp;s=' . $size . '" width="' . $size . '" height="' . $size . '" alt="' . $alt . '" class="' . $class . '" />';
      		}
      
      		return apply_filters( 'bp_get_signup_avatar', $gravatar_img, $args );
      	}
      
      function bp_signup_allowed() {
      	echo bp_get_signup_allowed();
      }
      	function bp_get_signup_allowed() {
      		global $bp;
      
      		$signup_allowed = false;
      

Comments are closed.