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

include hooks/actions called by scheduled functions #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kkmuffme
Copy link
Contributor

Closes #9

The "docs" are always empty, since a) nobody ever documents these and b) if someone really wants to document, we can still add that later.

Used the original nodes for all things (instead of the WP Reflector nodes), as this code is/will be used in other repos that only use the phpDocumentor/Reflector directly (and I need args from the reflector node anyway, so it's easier to maintain, as it's the widely used reflector syntax instead of the WP mumbo jumbo)

@johnbillion
Copy link
Collaborator

@kkmuffme Thanks for the PR. This is useful and working well except it generates duplicate entries where there's more than one call to wp_schedule_*() for a hook, see https://github.com/wp-hooks/wordpress-core/pull/20/files for the change to the hooks in WordPress core. Not sure where best to place the de-duplication.

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

Successfully merging this pull request may close these issues.

Hooks of WP cron schedule events
2 participants