Disable JSON

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    You can add the following code to your theme’s functions.php file to remove the json+ld data on your pages:

     * Code to remove json+ld data
    add_action( 'rank_math/head', function() {
    	global $wp_filter;
    	if ( isset( $wp_filter["rank_math/json_ld"] ) ) {
    		unset( $wp_filter["rank_math/json_ld"] );

    Looking forward to helping you. Thank you.


Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.