Recent

crp_tracking_utm_parametersfilterPro only

crp_tracking_utm_parameters

Filter the UTM parameters before they are added to the URL.

Type: filter
Since: 4.0.0
Source: includes/pro/class-pro.php line 348

Parameters

Type Name Description
array $utm_params The UTM parameters array.
string $url The original post URL.
\WP_Post $result The post object.
\WP_Post $source_post The source post object.
array $args Arguments array.

Usage

add_filter( 'crp_tracking_utm_parameters', function($utm_params, $url, $result, $source_post, $args) {
    // ...
    return $utm_params;
} );