wpmu_delete_blog_upload_dir

wpmu_delete_blog_upload_dir

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('wpmu_delete_blog_upload_dir') is found 1 times:

  • /wp-includes/ms-site.php line 846

    *
    * @param string $basedir Uploads path without subdirectory. See {@see wp_upload_dir()}.
    * @param int $site_id The site ID.
    */
    $dir = apply_filters( ‘wpmu_delete_blog_upload_dir’, $uploads[‘basedir’], $site->id );
    $dir = rtrim( $dir, DIRECTORY_SEPARATOR );
    $top_dir = $dir;
    $stack = array( $dir );
    $index = 0;

    while ( $index < count( $stack ) ) { [/php]