ActionScheduler_Store::stake_claim
Make a claim.
Method of the class: ActionScheduler_Store{}
No Hooks.
Returns
ActionScheduler_ActionClaim.
Usage
$ActionScheduler_Store = new ActionScheduler_Store(); $ActionScheduler_Store->stake_claim( $max_actions, ?DateTime $before_date, $hooks, $group );
- $max_actions(int)
- Maximum number of actions to claim.
Default:10 - ?DateTime $before_date
- .
Default:null - $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 10.8.1
abstract public function stake_claim( $max_actions = 10, ?DateTime $before_date = null, $hooks = array(), $group = '' );