Recent

crp_post_tax_score filter Pro only

crp_post_tax_score

Filter the calculated taxonomy score.

Type: filter
Since: 4.0.0
Source: includes/custom-tables/class-sync-manager.php line 664

Parameters

TypeNameDescription
float$tax_scoreThe calculated taxonomy score.
\WP_Post$postThe post object.
array$terms_dataThe parsed terms data.

Usage

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