crp_tracking_url
Filter the URL with tracking parameters.
Type: filter
Since: 4.0.0
Source: includes/pro/class-pro.php line 364
Parameters
| Type | Name | Description |
|---|---|---|
string |
$url |
The post URL with tracking parameters. |
string |
$original_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_url', function($url, $original_url, $result, $source_post, $args) {
// ...
return $url;
} );