bp_core_avatar_upload_path

  • apply_filters( 'bp_core_avatar_upload_path', $basedir )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-avatars.php :: Trac Source Line: 685
      				if ( is_multisite() && bp_get_root_blog_id() != get_current_blog_id() )
      					$basedir = get_blog_option( bp_get_root_blog_id(), 'upload_path' );
      			}
      		}
      
      		// Stash in $bp for later use
      		$bp->avatar->upload_path = $basedir;
      	}
      
      	return apply_filters( 'bp_core_avatar_upload_path', $basedir );
      }
      
      /**
       * bp_core_avatar_url()
       *
       * Returns the raw base URL for root site upload location
       *
       * @uses wp_upload_dir To get upload directory info
       * @return string Full URL to current upload location
       */
      

Comments are closed.