Instantly share code, notes, and snippets.

Embed
What would you like to do?
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