Recent

top_ten_query_meta_query_relation filter

top_ten_query_meta_query_relation

Filter the meta_query relation parameter.

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

Parameters

TypeNameDescription
string$relationThe logical relationship between each inner meta_query array when there is more than one. Default is ‘AND’.
array$argsArguments array.

Usage

add_filter( 'top_ten_query_meta_query_relation', function($relation, $args) {
    // ...
    return $relation;
} );