[wp-hackers] Checking plugin version

David Anderson david at wordshell.net
Sat Sep 22 11:40:32 UTC 2012

> I'm interested in "Finding out about current WP directory plugin
> versions, by queryinghttp://api.wordpress.org".
> To query wordshell i need to know plugin slug - how i can get it?
For an installed plugin, the plugin slug equals the last component of 
the directory name (for wp-content/plugins/akismet, it is akismet).

For a not-yet-installed plugin, it equals the last part of the URL in 
the WP directory, e.g. for Updraft Plus, the URL is 
http://wordpress.org/extend/plugins/updraftplus, and so the slug can be 
identified as updraftplus.


WordShell - WordPress fast from the CLI - www.wordshell.net

More information about the wp-hackers mailing list