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

	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.