How to disable Schema markup entirely?
-
I have read some older posts that referred to the section in the documentation that refers to this line of code that would disable schema entirely:
add_filter( ‘wpseo_json_ld_output’, ‘__return_false’ );
Read more here: https://developer.yoast.com/features/schema/api/
I then read that wpseo_json_ld_output was deprecated and it shouldn’t be used which was no big deal because it wasn’t working anyway.
So, with all that said…how do I turn off the schema.org markup?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to disable Schema markup entirely?’ is closed to new replies.