Skip to content
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

Scaffold a WP-Cron event and its callback #95

Open
johnbillion opened this issue Nov 22, 2017 · 1 comment
Open

Scaffold a WP-Cron event and its callback #95

johnbillion opened this issue Nov 22, 2017 · 1 comment

Comments

@johnbillion
Copy link
Contributor

A colleague of mine has been struggling with the format for scheduling a WP-Cron event and correctly passing parameters to its callback function. A WP-CLI command to scaffold an event and its callback function with example parameters would be great.

I'm going to put together an example and open a PR.

@danielbachhuber
Copy link
Member

👍

Related #88 and wp-cli/ideas#57

It'd be ideal to have some standard format for generating this code and placing into a plugin/theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants