Filter Twitter Card summary

Since SEOPress 2.7.2

function sp_social_twitter_card_summary($html) {
//you can add here all your conditions as if is_page(), is_category() etc..
	$html = '<meta name="twitter:card" content="summary_large_image">';
	return $html;
}
add_filter('seopress_social_twitter_card_summary', 'sp_social_twitter_card_summary');

Last modified: April 15, 2018