Skip to content

Instantly share code, notes, and snippets.

@mertcangokgoz
Created January 24, 2019 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mertcangokgoz/d5438673d1ca811ff83f234c93e20ecc to your computer and use it in GitHub Desktop.
Save mertcangokgoz/d5438673d1ca811ff83f234c93e20ecc to your computer and use it in GitHub Desktop.
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'feed_links', 2);
remove_action('wp_head', 'feed_links_extra', 3);
remove_action('wp_head', 'index_rel_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'start_post_rel_link', 10, 0);
remove_action('wp_head', 'parent_post_rel_link', 10, 0);
remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0);
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0 );
remove_action('wp_head', 'rel_canonical', 10, 0 );
remove_action('wp_head', 'print_emoji_detection_script', 7 );
remove_action('wp_print_styles', 'print_emoji_styles' );
remove_action('set_comment_cookies', 'wp_set_comment_cookies');
remove_action('um_post_registration_approved_hook', 'um_post_registration_approved_hook', 10, 0);
remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
remove_action('wp_head', 'print_emoji_detection_script', 7 );
remove_action('admin_print_scripts', 'print_emoji_detection_script' );
remove_action('wp_print_styles', 'print_emoji_styles' );
remove_action('admin_print_styles', 'print_emoji_styles' );
remove_filter('the_content_feed', 'wp_staticize_emoji' );
remove_filter('comment_text_rss', 'wp_staticize_emoji' );
remove_filter('wp_mail', 'wp_staticize_emoji_for_email' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment