If you are using Super Socializer plugin, add following code in the functions.php file of your active theme.
function heateor_ss_customize_shared_url($postUrl, $sharingType, $standardWidget){
// make changes in the URL being shared ($postUrl) and return
return $postUrl . '?MY_CUSTOM_VAR=1';
}
// customize the URL being shared by the social share icons
add_filter('heateor_ss_target_share_url_filter', 'heateor_ss_customize_shared_url', 10, 3);
// customize the URL being shared by the official like, tweet buttons
add_filter('heateor_ss_target_like_button_url_filter', 'heateor_ss_customize_shared_url', 10, 3);
If you are using Sassy Social Share plugin, add following code in the functions.php file of your active theme.
function heateor_sss_customize_shared_url($postUrl, $sharingType, $standardWidget){
// make changes in the URL being shared ($postUrl) and return
return $postUrl . '?MY_CUSTOM_VAR=1';
}
// customize the URL being shared by the social share icons
add_filter('heateor_sss_target_share_url_filter', 'heateor_sss_customize_shared_url', 10, 3);
If you are using Sassy Social Share Premium or Sassy Social Share Pro plugin, add following code in the functions.php file of your active theme.
function heateor_sssp_customize_shared_url($postUrl, $sharingType, $standardWidget){
// make changes in the URL being shared ($postUrl) and return
return $postUrl . '?MY_CUSTOM_VAR=1';
}
// customize the URL being shared by the social share icons
add_filter('heateor_sssp_target_share_url_filter', 'heateor_sssp_customize_shared_url', 10, 3);