Home / Admin / Disable AIOSEO Schema markups for a specific page
Duplicate Snippet

Embed Snippet on Your Site

Disable AIOSEO Schema markups for a specific page

This snippet removes the AIOSEO Schema Markups from a specific page.

Note: Replace '1209' with the ID of the page from where you want to remove the AIOSEO Schema Markups.

30+
Code Preview
php
<?php
add_filter( 'aioseo_schema_disable', 'aioseo_disable_schema_for_specific_page' );
function aioseo_disable_schema_for_specific_page( $disabled ) {
   if ( is_page( 1209 ) ) {
      return true;
   }
   return $disabled;
}

Comments

Add a Comment