Skip to content

Instantly share code, notes, and snippets.

@rilwis
Created September 8, 2023 09:22
Show Gist options
  • Save rilwis/62fc791d88f871922a3f17f936741642 to your computer and use it in GitHub Desktop.
Save rilwis/62fc791d88f871922a3f17f936741642 to your computer and use it in GitHub Desktop.
Slim SEO: Remove keywords from Article schema
<?php
add_filter( "slim_seo_schema_article", function ( $schema ) {
unset( $schema['keywords'] );
return $schema;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment