Removing og:locale doesn’t work
-
Hi Yoast SEO team,
I’d like to remove the og:locale tag completely.
Thus I’ve tried your tutorial for the functions.php modifications: https://developer.yoast.com/features/opengraph/api/changing-og-locale-output/, but it simply doesn’t work.
Dreamweaver gives me a syntax error concerning the following line of your removal code and then it doesn’t work:
remove_action( ‘wpseo_opengraph’, [ $wpseo_og, ‘locale’ ], 1 );
Any ideas?
Best
Mikey
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Removing og:locale doesn’t work’ is closed to new replies.