LLMS_Abstract_Query::get_default_args()
Retrieve default arguments for the query.
Return Return
(array)
Source Source
File: includes/abstracts/llms-abstract-query.php
protected function get_default_args() {
if ( $this->get( 'suppress_filters' ) ) {
return $this->default_arguments();
}
/**
* Filters the query default args.
* The dynamic part of the filter `$this->id` identifies the extending query.
*
* @since 3.8.0
*
* @param array $args Array of default arguments to set up the query with.
*/
return apply_filters( "llms_{$this->id}_query_get_default_args", $this->default_arguments() );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.0.0 | Moved from LLMS_Database_Query abstract. |
| 4.5.1 | Added new default arg no_found_rows set to false. |
| 3.8.0 | Introduced. |