Skip to content

wpt_utm_source

github-actions[bot] edited this page Jun 14, 2026 · 1 revision

Filter the default utm_source argument in link analytics.

Auto-generated Example

add_filter(
   'wpt_utm_source',
    function( string string ) {
        // Your code here.
        return string;
    }
);

Parameters

  • string string $source Default 'twitter'. Other variable names: $twitter

Returns

string

Files

apply_filters( 'wpt_utm_source', 'twitter' )

← All Hooks

Clone this wiki locally