I want to hide my plugin list. Suppose anyone can see which plugin I use from this site. How can I hide my plugin list from here? I use WordPress new version, and I want to always update my plugin but don't want anyone can see my plugin name. How can I do that?

function cws_hidden_plugin_12345( $r, $url ) {
    if ( 0 !== strpos( $url, 'http://api.wordpress.org/plugins/update-check' ) )
  • Could you please try to explain what you need to do and for what reason a little more clearly? Your question is hard to follow.
    – Rarst
    Oct 17, 2013 at 13:00
  • 1
    please go this site whatwpthemeisthat.com and give here this domain name projuktichowa.com and click "check site". here you can see which plugin and theme i use this site. i want no one can see which plugin i use for this wordpress site. Oct 19, 2013 at 1:14

3 Answers 3


WordPress needs themes and plugins to be in web-accessible folder, so that any scripts and styles from them can be downloaded by browsers and work.

From there it's technologically easy to detect such resources in page source and/or proactively scan site for presence of files belonging to popular plugins.

There is nothing to be done about that, short of massive layer of moving and anonymizing any files that need to be loaded. I am not aware of any solutions the purposely do this. Plugins that concatenate scripts and styles can have partial side effect like this.



The Hide Plugins plugin does it all.

  • From a comment on the question it looks like OP wants to hide the plugin from an external plugin scanning tool, whereas your plugin looks like it just hides them from the dashboard plugin list.
    – Rup
    Sep 13, 2023 at 0:09

All you need to do is just remove generator...

    foreach ( array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' ) as $action ) {
        remove_action( $action, 'the_generator' );

after that - whatwpthemeisthat.com will ignore you.

  • where i imput this code? in function.php ? Oct 19, 2013 at 18:39
  • functions.php perfectly suits for that. Oct 19, 2013 at 19:01
  • i already imput this code in function.php but it's not work. Oct 20, 2013 at 0:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.