Hook name
seopress_social_og_title
Required version
2.7.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sp_social_og_title($html) { | |
//you can add here all your conditions as if is_page(), is_category() etc.. | |
$html = '<meta property="og:title" content="my amazing og:title" />'; | |
return $html; | |
} | |
add_filter('seopress_social_og_title', 'sp_social_og_title'); |