-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing WP-Cron events #2731
Comments
Is WP CLI or a plugin like WP Crontrol or Debug Bar the way we want to recommend? Perhaps briefly cover both ways? I find WP CLI to be easiest, but developers may not always have SSH access or a local environment set up to use WP CLI (if they must debug something happening for a specific user, for example). |
Possible reference to lesson #2797 |
I haven't gotten round to it on these later lessons yet, but I usually base the lesson on something from the developer docs. In this case this is the relevant docs page: https://developer.wordpress.org/plugins/cron/simple-testing/ |
After reading though the developer docs on this (and using some of these things to test for #2729) I have altered the order of the three different tools. The main reason for this is that so far in the plugin developer course, WP CLI has not been introduced yet. There's an entire module on WP CLI planned for the Advanced developer course, so we might also want to leave that tout now, and then add it back in later? |
Details
Learning Objectives
Related Resources and Other Notes
Automation Code
//lesson
The text was updated successfully, but these errors were encountered: