Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Abstract_Batch_Process::get_offset()

Calculates and retrieves the offset for the current step.


Description Description


Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808

Return Return

(int) Number of items to offset.


Top ↑

Source Source

File: classes/Abstract/Batch/Process.php

	public function get_offset() {
		return ( $this->step - 1 ) * $this->per_step;
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.