crp_query_meta_query_relation
Filter the meta_query relation parameter.
Type: filter
Since: 3.3.0
Source: includes/class-crp-core-query.php line 473
Parameters
| Type | Name | Description |
|---|---|---|
string |
$relation |
The logical relationship between each inner meta_query array when there is more than one. Default is ‘AND’. |
array |
$args |
Arguments array. |
Usage
add_filter( 'crp_query_meta_query_relation', function($relation, $args) {
// ...
return $relation;
} );