WC_Object_Query::get_default_query_vars()
Get the default allowed query vars.
Description Description
Return Return
(array)
Source Source
File: includes/abstracts/abstract-wc-object-query.php
protected function get_default_query_vars() {
return array(
'name' => '',
'parent' => '',
'parent_exclude' => '',
'exclude' => '',
'limit' => get_option( 'posts_per_page' ),
'page' => 1,
'offset' => '',
'paginate' => false,
'order' => 'DESC',
'orderby' => 'date',
'return' => 'objects',
);
}