WordPress at a glance
filter is not described

wpmu_delete_blog_upload_dir filter-hook . WP 3.0.0

Filters the upload base directory to delete when the site is deleted.

Usage

add_filter( 'wpmu_delete_blog_upload_dir', 'filter_function_name_5397', 10, 2 );
function filter_function_name_5397( $uploads['basedir'], $site_id ){
	// filter...

	return $uploads['basedir'];
}
$uploads['basedir'](string)
Uploads path without subdirectory. @see wp_upload_dir()
$site_id(int)
The site ID.

Список изменений

С версии 3.0.0 Введена.

Где вызывается хук

wp_uninitialize_site()
wpmu_delete_blog_upload_dir
wp-includes/ms-site.php 866
$dir     = apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id );

Где используется хук в ядре WordPress

Использование не найдено.