Skip to content

Instantly share code, notes, and snippets.

@schemapress
Created November 13, 2018 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schemapress/514d1cfb9d6fff149e043c8f6c5836b4 to your computer and use it in GitHub Desktop.
Save schemapress/514d1cfb9d6fff149e043c8f6c5836b4 to your computer and use it in GitHub Desktop.
Remove Schema Plugin markup for Blog on home page https://schema.press/docs/remove-blog-markup/
<?php //* do not include php tag
add_filter( 'schema_blog_output', 'schema_blog_output_remove_8987716235' );
/**
* Remove Schema Plugin markup for Blog on home page
*
* @param array $schema
* @return array
*/
function schema_blog_output_remove_8987716235( $schema ) {
// Simply return an empty array
return array();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment