bp_get_avatar_to_crop_src

  • apply_filters( 'bp_get_avatar_to_crop_src', str_replace( WP_CONTENT_DIR, '', $bp->avatar_admin->image->dir ) )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 145
      		return apply_filters( 'bp_get_avatar_to_crop', $url );
      	}
      
      function bp_avatar_to_crop_src() {
      	echo bp_get_avatar_to_crop_src();
      }
      	function bp_get_avatar_to_crop_src() {
      		global $bp;
      
      		return apply_filters( 'bp_get_avatar_to_crop_src', str_replace( WP_CONTENT_DIR, '', $bp->avatar_admin->image->dir ) );
      	}
      
      function bp_avatar_cropper() {
      	global $bp;
      
      	echo '<img id="avatar-to-crop" class="avatar" src="' . $bp->avatar_admin->image . '" />';
      }
      
      function bp_site_name() {
      	echo apply_filters( 'bp_site_name', get_bloginfo( 'name', 'display' ) );
      

Comments are closed.