Last active
March 29, 2018 12:44
-
-
Save JodiWarren/6ad375af53816112decbf0c85743197e to your computer and use it in GitHub Desktop.
Get a list of plugin names from a WordPress plugins admin page. You can change the `[data-plugin]` selector to `.active` or `.inactive` to get a subset. Just pop it into the dev tools console.
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
jQuery.map(jQuery('[data-plugin]').map((index, element) => $(element).find('strong').first().html()), value => [value]).join('\n'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment