Skip to content

Comments

include hooks/actions called by scheduled functions#11

Open
kkmuffme wants to merge 1 commit intowp-hooks:trunkfrom
kkmuffme:include-wp-cron-schedule-hooks
Open

include hooks/actions called by scheduled functions#11
kkmuffme wants to merge 1 commit intowp-hooks:trunkfrom
kkmuffme:include-wp-cron-schedule-hooks

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
Member

@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