1

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 '13 at 13:00
  • 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. – Smart Shovon Oct 19 '13 at 1:14
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.

-1

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 ? – Smart Shovon Oct 19 '13 at 18:39
  • functions.php perfectly suits for that. – Butuzov Oct 19 '13 at 19:01
  • i already imput this code in function.php but it's not work. – Smart Shovon Oct 20 '13 at 0:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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