On this page
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
$basedirstring-
Uploads path without subdirectory. @see wp_upload_dir()
$site_idint-
The site ID.
Source
File: wp-includes/ms-site.php. View all references
$dir = apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id );
Related
Used By
| Used By | Description |
|---|---|
| wp_uninitialize_site() wp-includes/ms-site.php | Runs the uninitialization routine for a given site. |
Changelog
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wpmu_delete_blog_upload_dir