Snippets: 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 );

Snippet Type: PHP

Posted Under: Core

All PHP snippets should be added via a child theme's functions.php file.