wpseek.com
A WordPress-centric search engine for devs and theme authors



wpmu_delete_blog_upload_dir › WordPress Filter Hooks

SinceMU (3.0.0)
Deprecatedn/a
apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id )
Parameters: (2)
  • (string) $basedir Uploads path without subdirectory. See {@see wp_upload_dir()}.
    Required: Yes
  • (int) $site_id The site ID.
    Required: Yes
Defined at:
Codex:

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





Source

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