apply_filters( ‘wpmu_delete_blog_upload_dir’, string $basedir, int $site_id )

In this article

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

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

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

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