Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wpmu_delete_blog_upload_dir ›

SeitMU (3.0.0)
Veraltetn/v
apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id )
Parameter: (2)
  • (string) $uploads['basedir'] Uploads path without subdirectory. @see wp_upload_dir()
    Erforderlich: Ja
  • (int) $site_id The site ID.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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