LLMS_Database_Query::get_default_args()

Retrieve default arguments for a the query


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.database.query.php

	protected function get_default_args() {

		$args = array(
			'page' => 1,
			'per_page' => 25,
			'search' => '',
			'sort' => array(
				'id' => 'ASC',
			),
			'suppress_filters' => false,
		);

		if ( $this->get( 'suppress_filters' ) ) {
			return $args;
		}

		return apply_filters( 'llms_db_query_get_default_args', $args );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: