ActionScheduler_Abstract_ListTable::get_items_query_limit()protectedWC 1.0

Get prepared LIMIT clause for items query

Method of the class: ActionScheduler_Abstract_ListTable{}

No Hooks.

Return

String. Prepared LIMIT clause for items query.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_items_query_limit();

Notes

  • Global. wpdb. $wpdb

ActionScheduler_Abstract_ListTable::get_items_query_limit() code WC 8.6.1

protected function get_items_query_limit() {
	global $wpdb;

	$per_page = $this->get_items_per_page( $this->get_per_page_option_name(), $this->items_per_page );
	return $wpdb->prepare( 'LIMIT %d', $per_page );
}