WC_Admin_Log_Table_List::get_items_query_limit
Get prepared LIMIT clause for items query
Method of the class: WC_Admin_Log_Table_List{}
No Hooks.
Returns
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
WC_Admin_Log_Table_List::get_items_query_limit() WC Admin Log Table List::get items query limit code WC 10.6.2
protected function get_items_query_limit() {
global $wpdb;
$per_page = $this->get_items_per_page(
self::PER_PAGE_USER_OPTION_KEY,
$this->get_per_page_default()
);
return $wpdb->prepare( 'LIMIT %d', $per_page );
}