Recent

bsearch_post_tax_scorefilterPro only

bsearch_post_tax_score

Filter the calculated taxonomy score.

Type: filter
Since: 4.2.0
Source: includes/pro/custom-tables/class-sync-manager.php line 818

Parameters

Type Name Description
float $tax_score The calculated taxonomy score.
\WP_Post $post The post object.
array $terms_data The parsed terms data.

Usage

add_filter( 'bsearch_post_tax_score', function($tax_score, $post, $terms_data) {
    // ...
    return $tax_score;
} );