Skip to content

Snippet: Remove Theme Meta Generator

This is used for support so we know what version of the theme you are using. It causes no harm having it in there, but if you must remove it here is how.

add_action( 'init', function() {
	remove_action( 'wp_head', 'wpex_theme_meta_generator', 1 );
}, 10 );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top