Since SEOPress 2.7.2
function sp_social_og_locale($html) { //you can add here all your conditions as if is_page(), is_category() etc.. $html = '<meta property="og:locale" content="en_US" />'; return $html; } add_filter('seopress_social_og_locale', 'sp_social_og_locale');
Last modified: April 14, 2018