WordPress at a glance
filter is not described

wpmu_delete_blog_upload_dir filter-hook . WP MU

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

Usage

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

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

Notes

  • Since MU (3.0.0)

Where the hook is called

wpmu_delete_blog()
wpmu_delete_blog_upload_dir
wp-admin/includes/ms.php 140
$dir = apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $blog_id );

Where the hook is used (in WP core)

Does not used.