Hi jmleclercq,
The provided filter has been deprecated in the next patch (2.6.1).
You can safely remove it.
The next version will no longer determine that Add Meta Tags is an SEO plugin, but it will see it as a Open Graph plugin (as it already did).
If you wish to maintain the Open Graph functionality by The SEO Framework, then, in the next version, please use either of the provided filters:
//* Disable all OG detection:
add_filter( 'the_seo_framework_og_plugin_detected', '__return_false' );
Or:
//* Disable specific OG plugin detection:
add_filter( 'the_seo_framework_conflicting_plugins_type', 'my_seo_ignore_detection', 10, 2 );
function my_seo_ignore_detection( $plugins = array(), $type = '' ) {
//* Default behavior on all other types.
if ( 'open_graph' !== $type )
return $plugins;
//* Remove Add Meta Tags from the detection list.
unset( $plugins['Add Meta Tags'] );
//* And return it.
return $plugins;
}
I haven’t really tested the latter filter out, but it should work as intended :). It’s copied from JetPack, after all.
I’m sorry for the inconvenience. Nevertheless, it’s for the better.
Have a great day!