Filter Twitter Card title

Since SEOPress 2.7.2

function sp_social_twitter_card_title($html) {
//you can add here all your conditions as if is_page(), is_category() etc..
	$html = '<meta name="twitter:title" content="my awesome title" />';
	return $html;
}
add_filter('seopress_social_twitter_card_title', 'sp_social_twitter_card_title');

Last modified: April 14, 2018