Last active
August 19, 2022 02:15
-
-
Save seothemes/b41faf5082097d2e39c68bad71e32f7a to your computer and use it in GitHub Desktop.
Remove dark mode blockify
This file contains hidden or 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 // Do not include opening PHP tag. | |
// Place in child theme functions.php or custom plugin. | |
add_filter( 'blockify', function ( array $defaults ): array { | |
unset( $defaults['darkMode'] ); | |
return $defaults; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment