Last active
August 1, 2025 16:31
-
-
Save webdados/61197dd2e98f399ba2cfeefbac518851 to your computer and use it in GitHub Desktop.
Change the highlight for the "Language Attribute for Container Blocks" WordPress plugin, using PHP
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 | |
// Just return any color you want in a format supported by CSS | |
add_filter( | |
'nakedcatplugins_lang_attr_highlight_color', | |
function () { | |
return 'rgba(0, 150, 255, 0.8)'; // Blue instead of red | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment