WordPress开发者和主题制作者的搜索引擎



wpmu_delete_blog_upload_dir ›

SinceMU (3.0.0)
已弃用n/a
apply_filters( 'wpmu_delete_blog_upload_dir', $uploads['basedir'], $site->id )
参数: (2)
  • (string) $uploads['basedir'] Uploads path without subdirectory. @see wp_upload_dir()
    Required: Yes
  • (int) $site_id The site ID.
    Required: Yes
定义在:
文档:

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





源码

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