ActionScheduler_wpPostStore::claim_actions( string $claim_id, int $limit, DateTime $before_date = null, array $hooks = array(), string $group = '' )
Description Description
Parameters Parameters
- $claim_id
-
(Required)
- $limit
-
(Required)
- $before_date
-
(Optional) Should use UTC timezone.
Default value: null
- $hooks
-
(Optional) Claim only actions with a hook or hooks.
Default value: array()
- $group
-
(Optional) Claim only actions in the given group.
Default value: ''
Return Return
(int) The number of actions that were claimed
Source Source
File: packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php