Thread Starter
mcnano
(@mcnano)
I know that I could disable Open Graph by using
add_filter( 'jetpack_enable_open_graph', '__return_false' );
but if I want still use those meta-tags, I need to know hot to encode email-addresses there.
You can use the jetpack_open_graph_tags
filter. I haven’t tested this, but something along those lines would do the trick:
add_filter( 'jetpack_open_graph_tags', function( $tags ) {
return array_map( 'eae_encode_emails', $tags );
} );
Thread Starter
mcnano
(@mcnano)
Thanks, it really works 🙂