Yoast\WP\SEO\Bulk_Editor\Domain\Posts

Posts_Query::get_offsetpublicYoast 1.0

Returns the zero-based offset of the requested page.

Метод класса: Posts_Query{}

Хуков нет.

Возвращает

int. The offset.

Использование

$Posts_Query = new Posts_Query();
$Posts_Query->get_offset(): int;

Код Posts_Query::get_offset() Yoast 28.3

public function get_offset(): int {
	return ( ( $this->page - 1 ) * $this->per_page );
}