wpmdb_mf_local_uploads_folder

wpmdb_mf_local_uploads_folder

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_mf_local_uploads_folder') is found 1 times:

  • /class/Common/MF/MediaFilesLocal.php line 201
                $file_list = $this->transfer_util->get_remote_files([$folder], 'wpmdbmf_respond_to_get_remote_media', $excludes, $date, $timezone);
            } else {
                // Push = get local files
                $abs_path = Files_Util::get_wp_uploads_dir();
                $abs_path = apply_filters('wpmdb_mf_local_uploads_folder', $abs_path, $state_data);
                $file_list = $this->file_processor->get_local_files([$abs_path], $abs_path, $excludes, $state_data['stage'], $date, $timezone,'push');
            }
    
            if (is_wp_error($file_list)) {
                return $file_list;
            }