Uma área de pesquisa sobre o WordPress para devs e autores do tema



wpmu_delete_blog_upload_dir ›

DesdeMU (3.0.0)
Obsoleton/a
apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id )
Parâmetros: (2)
  • (string) $uploads['basedir'] Uploads path without subdirectory. @see wp_upload_dir()
    Required: Yes
  • (int) $site_id The site ID.
    Required: Yes
Definido em:
Codex:

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





Fonte

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