Remove Theme Meta Generator
This is a Developer Level doc.
If you're unfamiliar with PHP and/or editing files, codes and templates, as well as with resolving possible conflict, please seek help from a professional. Under our Support Policy, we don't provide support for modifications and customization.
Theme Meta Generator is used for support, so that we know what theme version you are running. It helps us troubleshoot issues faster. It causes no harm to your website, but if you must remove it, you can use the following PHP snippet:
function my_remove_theme_meta_generator() { remove_action( 'wp_head', array( 'OCEAN_Theme_Class', 'theme_meta_generator' ), 1 ); } add_action( 'init', 'my_remove_theme_meta_generator' );
All PHP snippets should be added via a child theme's functions.php file.