Disable Schema Markup on AMP Pages/Posts for Reader Mode

Schema Pro version 1.5.0 and above automatically adds structured data to AMP pages. In case you wish to disable it, use the following filter.

You would need to copy and paste the following code into the child theme’s functions.php file.

add_filter( 'wp_schema_pro_remove_amp_schema_markup', 'disable_amp_schema', 10, 1 );

function disable_amp_schema($bool)
{
return false;
}