LLMS_Abstract_Posts_Query::default_arguments()
Retrieve query argument default values.
Return Return
(array)
Source Source
File: includes/abstracts/llms-abstract-posts-query.php
protected function default_arguments() {
return wp_parse_args(
array(
'fields' => 'all',
'status' => 'publish',
'post_types' => $this->allowed_post_types,
'sort' => array(
'date' => 'DESC',
'ID' => 'DESC',
),
),
parent::default_arguments()
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |