A WordPress-centric search engine for devs and theme authors



wpmu_delete_blog_upload_dir ›

SinceMU (3.0.0)
Deprecatedn/a
apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id )
Parameters: (2)
  • (string) $uploads['basedir'] Uploads path without subdirectory. @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 );