Hide plugin scripts from
-
Hi,
I would like to know how, I can hide scripts, links and plugin directories from the <head> </head> to people who are using web console(developer tools of chrome, mozilla etc.) to see what are the plugins that I am using on my site. I tried cleaning header with // remove junk from head
remove_action(‘wp_head’, ‘rsd_link’);
remove_action(‘wp_head’, ‘wp_generator’);
remove_action(‘wp_head’, ‘feed_links’, 2);
remove_action(‘wp_head’, ‘index_rel_link’);
remove_action(‘wp_head’, ‘wlwmanifest_link’);
remove_action(‘wp_head’, ‘feed_links_extra’, 3);
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);
I tried renaming wp-content etc.
I still see the script tags that shows the list of plugins that I have used on my site. Could you please give plugin reference to hide scripts and links from my header when viewed from browser console. Help highly appreciated.
- The topic ‘Hide plugin scripts from’ is closed to new replies.