How can I remove the meta generator tags and feed tag?

With the following code snippet, which must be inserted in the function.php of the theme, you remove the information about the corresponding meta generator.

/* Remove Comment Feed */
add_filter( 'feed_links_show_comments_feed', '__return_false' );

/* Remove WordPress Generator */
remove_action('wp_head', 'wp_generator');

/* Remove Slider Revolution Meta Generator */
function remove_revslider_meta_tag() { return ""; }
add_filter( 'revslider_meta_generator', 'remove_revslider_meta_tag' );
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.