LLMS_Abstract_Query::get_default_args()

Retrieve default arguments for the query.


Return Return

(array)


Top ↑

Source Source

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

290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
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() );
 
}


Top ↑

Changelog 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.

Top ↑

User Contributed Notes User Contributed Notes

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