Created
September 8, 2023 09:22
-
-
Save rilwis/62fc791d88f871922a3f17f936741642 to your computer and use it in GitHub Desktop.
Slim SEO: Remove keywords from Article schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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