Recent

crp_query_argsfilter

crp_query_args

Filters the arguments of the query.

Type: filter
Since: 3.0.0
Source: includes/class-crp-core-query.php line 538

Parameters

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

Usage

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