Recent

top_ten_query_argsfilter

top_ten_query_args

Filters the arguments of the query.

Type: filter
Since: 3.0.0
Source: includes/class-top-ten-core-query.php line 445

Parameters

Type Name Description
array $args The arguments of the query.
Top_Ten_Core_Query $query The Top_Ten_Core_Query instance (passed by reference).

Usage

add_filter( 'top_ten_query_args', function($args, $query) {
    // ...
    return $args;
} );