Created
May 5, 2022 15:32
-
-
Save felipemarcos/52e84fe8e2cee4e2bc7b2574a3ceda8b to your computer and use it in GitHub Desktop.
WordPress: Remove Duotone code from <body>
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
/** | |
* Plugin Name: Remove Duotone Code | |
* Description: Remove inline junk added by WordPress | |
* Author: Felipe Marcos | |
* Version: 0.1 | |
*/ | |
add_action('plugins_loaded', function() { | |
remove_action( 'wp_body_open', 'wp_global_styles_render_svg_filters' ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This plugin removes the SVG code added by WordPress to the body