• Resolved rapidasia

    (@rapidasia)


    Hi, thanks for your plugin.

    Is it possible to append affiliate ID to shared URL for logged in affiliates?

    AffiliateWP

Viewing 1 replies (of 1 total)
  • Plugin Author Heateor Support

    (@heateor)

    Hi there,

    Sorry for the late reply. You can use the following code to alter the URL being shared.

    /**
     * Append affiliate ID to the URL being shared
     */
    function heateor_ss_append_affiliate_id( $post_url, $sharing_type, $standard_widget ) {
            // perform calculations on $post_url
    	return $post_url;
    }
    add_filter( 'heateor_ss_target_share_url_filter', 'heateor_ss_append_affiliate_id', 10, 3 );
Viewing 1 replies (of 1 total)
  • The topic ‘append affiliate id to shared url?’ is closed to new replies.