wpmdb_mf_remote_uploads_source_folder

wpmdb_mf_remote_uploads_source_folder

Hook Type: filter

See hook in core

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

apply_filters('wpmdb_mf_remote_uploads_source_folder') is found 1 times:

  • /class/Common/MF/MediaFilesLocal.php line 196
            }
    
            if ('pull' === $state_data['intent']) {
                // Set up local meta data
                $folder = apply_filters('wpmdb_mf_remote_uploads_source_folder', $folder, $state_data);
                $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');