LLMS_Awards_Query::default_arguments()

Retrieve query argument default values.


Return Return

(array)


Top ↑

Source Source

File: includes/class-llms-awards-query.php

	protected function default_arguments() {

		return wp_parse_args(
			array(
				'sort'                   => array(
					'date' => 'DESC',
					'ID'   => 'DESC',
				),
				'users'                  => array(),
				'users__exclude'         => array(),
				'related_posts'          => array(),
				'related_posts__exclude' => array(),
				'engagements'            => array(),
				'engagements__exclude'   => array(),
				'templates'              => array(),
				'templates__exclude'     => array(),
				'type'                   => 'any',
				'manual_only'            => false,
			),
			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.