Yoast\WP\SEO\Bulk_Editor\Domain\Posts
Posts_Query::get_offset
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() Posts Query::get offset Yoast 28.3
public function get_offset(): int {
return ( ( $this->page - 1 ) * $this->per_page );
}