Tag Info

Hot answers tagged


I believe a filter on the_generator will do it. add_filter(  'the_generator',  '__return_empty_string', PHP_INT_MAX ); Reference: https://codex.wordpress.org/Function_Reference/_return_empty_string. https://core.trac.wordpress.org/browser/tags/4.2.2/src/wp-includes/general-template.php#L2956


Most of what you want to remove is added in wp-includes/default-filters.php. Look in that file to see where they are added. The two that are adding css and js are the emoji support scripts: add_action( 'wp_head', 'print_emoji_detection_script', 7 ); add_action( 'wp_print_styles', 'print_emoji_styles' ); To remove them, use the following in addition to the ...

Only top voted, non community-wiki answers of a minimum length are eligible