Allow the addition of Open Graph Meta Tags to all pages.
Parameters
- false
bool Should Open Graph Meta tags be added. Default to false.
Changelog
- Introduced in Jetpack 2.0.3
How to use this hook
Notes
You could use this filter to force the display of Open Graph Meta tags, even if you use another plugin that would normally remove these tags.add_filter( 'jetpack_enable_open_graph', '__return_true', 100 );Another way to use that filter would be to completely disable Jetpack’s Open Graph Meta Tags:
add_filter( 'jetpack_enable_open_graph', '__return_false', 99 );Note that this will also disable the Twitter Cards added by Jetpack. To only disable the Twitter Cards, you’ll need to use the
jetpack_disable_twitter_cards filter.