apply_filters( 'wpmu_delete_blog_upload_dir', string $basedir, int $site_id )
Filters the upload base directory to delete when the site is deleted.
Parameters
- $basedir
-
(string) Uploads path without subdirectory. @see wp_upload_dir()
- $site_id
-
(int) The site ID.
Source
File: wp-includes/ms-site.php
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wpmu_delete_blog_upload_dir