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



wpmu_delete_blog_upload_dir › WordPress Filter Hooks

SeitMU (3.0.0)
Veraltetn/v
apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id )
Parameter: (2)
  • (string) $basedir Uploads path without subdirectory. See {@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 );