wpmdb_tranfers_queue_batch_size

wpmdb_tranfers_queue_batch_size

Hook Type: filter

See hook in core

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

apply_filters('wpmdb_tranfers_queue_batch_size') is found 1 times:

  • /class/Common/Queue/QueueHelper.php line 183
                return $this->transfer_util->ajax_error(__('Error: empty folder list supplied.', 'wp-migrate-db'));
            }
    
            $queue_status = get_site_transient('wpmdb_queue_status');
            $count        = apply_filters('wpmdb_tranfers_queue_batch_size', 1000);
            $offset       = isset($queue_status['offset']) ? $queue_status['offset'] : 0;
    
            $q_data = $this->queue_manager->list_jobs($count, $offset);
    
            if (empty($q_data)) {
                delete_site_transient('wpmdb_queue_status');