Created
January 20, 2019 22:34
-
-
Save RyanNutt/700eb926e6b591ee7b6fe45a0591b455 to your computer and use it in GitHub Desktop.
WP-CLI command to test WordPress actions from the command line
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
wp eval "do_action('action_name');" --path=/path/to/htdocs --url=https://website.domain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment