Documentation

Print This page

Custom Click To Tweet URL Hook (PRO)

You can change the URL of click to tweet button by using the filter. you can change the URL for a specific post or you can change URL global.

Filter: ssb_ctt_url

Example Usage: 

function custom_click_to_url( $url ){


	if( 35 ==  get_the_ID(  ) ){
		 $url ='http://wpbrigade.com';
	}
return $url;
}

add_filter('ssb_ctt_url','custom_click_to_url');
Malcare WordPress Security