ActionScheduler_Store::stake_claim
Make a claim.
Метод класса: ActionScheduler_Store{}
Хуков нет.
Возвращает
ActionScheduler_ActionClaim.
Использование
$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.
По умолчанию:10 - ?DateTime $before_date
- .
По умолчанию:null - $hooks(массив)
- Claim only actions with a hook or hooks.
По умолчанию:array() - $group(строка)
- Claim only actions in the given group.
По умолчанию:''
Код ActionScheduler_Store::stake_claim() ActionScheduler Store::stake claim WC 11.3.0
abstract public function stake_claim( $max_actions = 10, ?DateTime $before_date = null, $hooks = array(), $group = '' );