ActionScheduler_Store::stake_claim()
Make a claim.
Method of the class: ActionScheduler_Store{}
No Hooks.
Return
ActionScheduler_ActionClaim
.
Usage
$ActionScheduler_Store = new ActionScheduler_Store(); $ActionScheduler_Store->stake_claim( $max_actions, $before_date, $hooks, $group );
- $max_actions(int)
- Maximum number of actions to claim.
Default: 10 - $before_date(DateTime)
- Claim only actions schedule before the given date.
Default: now - $hooks(array)
- Claim only actions with a hook or hooks.
Default: array() - $group(string)
- Claim only actions in the given group.
Default: ''
ActionScheduler_Store::stake_claim() ActionScheduler Store::stake claim code WC 9.5.1
abstract public function stake_claim( $max_actions = 10, DateTime $before_date = null, $hooks = array(), $group = '' );