Last active
July 12, 2018 23:17
-
-
Save craigiswayne/2897c1aa5b95cf60b11b6ab1b5bd08b0 to your computer and use it in GitHub Desktop.
How Extensible is a WordPress Plugin
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
# Find all do_action's and add_action's | |
grep -En "(add|do)_action\(" . -R --context=2 --include="*.php" | |
# Find all apply_filter's and add_filter's | |
grep -En "(apply|add)_filters?\(" . -R --context=2 --include="*.php" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment