How to Disable Yoast SEO JSON-LD Scheme?

Copy/paste this code at the very bottom of your theme’s function.php:

// Disable Yoast SEO JSON-LD Scheme by SEODOX

add_filter( 'wpseo_json_ld_output', '__return_false' );

This will remove Yoast SEO plugin json-ld output from html head:

<script type=”application/ld+json” class=”yoast-schema-graph”> … </script>

Removing default Yoast SEO scheme will be useful, when you prefer to use another WordPress scheme plugin or custom scheme configuration.