LLMS_Abstract_Posts_Query::default_arguments()

Retrieve query argument default values.


Return Return

(array)


Top ↑

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()
    );
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.