Recent

crp_query_pro_max_taxonomiesfilterPro only

crp_query_pro_max_taxonomies

Filters the maximum number of taxonomies used when matching related posts.

Type: filter
Since: 4.0.0
Source: includes/pro/class-query-modifier.php line 444

Parameters

Type Name Description
int $max_taxonomies Maximum number of taxonomies considered. Default 10.

Usage

add_filter( 'crp_query_pro_max_taxonomies', function($max_taxonomies) {
    // ...
    return $max_taxonomies;
} );