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.

Top ↑

Source

File: wp-includes/ms-site.php. View all references

$dir     = apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id );


Top ↑

Changelog

Changelog
Version Description
MU (3.0.0) Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.