Closed pfefferle closed 12 years ago
Like that?
add_filter( 'jetpack_enable_opengraph', '__return_false', 0 );
I think it would need to be priority > 0 to ensure it runs after the initial __return_true. I'd probably just use priority 99 like they did for the official facebook plugin.
you are right! should I change and re-push it or will you add it directly?
wouldn't a cleaner approach be to just hook into 'jetpack_enable_opengraph' like they did here: http://plugins.trac.wordpress.org/browser/jetpack/trunk/jetpack.php#L4424