Change from og:locale output doesnt work
-
Hi there,
i created in an child theme in the functions.php this code
function yst_wpseo_change_og_locale( $locale ) {
return ‘de_AT’;
}add_filter( ‘wpseo_locale’, ‘yst_wpseo_change_og_locale’ );
to change the og:locale output of yoast SEO. The guide for that was here ( https://developer.yoast.com/features/opengraph/api/changing-og-locale-output/ )
but this doesn’t work, still the tag is running with de_DE and not with de_AT.
Can anyone help?
thx and best regards
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Change from og:locale output doesnt work’ is closed to new replies.