Last active
November 20, 2020 12:07
-
-
Save gukandrew/8798124f5a3801cbb6f6fa7615ad948f to your computer and use it in GitHub Desktop.
List all Wordpress Plugins and their versions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# first grep is all nested plugins, second is for plugins without directory (php file only plugins) | |
grep -rw -P "(^Version|\sVersion):" wp-content/plugins/*/*.php && | |
grep -w -P "(^Version|\sVersion):" wp-content/plugins/*.php | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment