LLMS_Abstract_Posts_Query::default_arguments()
Retrieve query argument default values.
Return Return
(array)
Source Source
File: includes/abstracts/llms-abstract-posts-query.php
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | 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. |