ActionScheduler_Store::stake_claim()
Метод класса: ActionScheduler_Store{}
Хуков нет.
Возвращает
ActionScheduler_ActionClaim
.
Использование
$ActionScheduler_Store = new ActionScheduler_Store(); $ActionScheduler_Store->stake_claim( $max_actions, $before_date, $hooks, $group );
- $max_actions(int)
- -
По умолчанию: 10 - $before_date(DateTime)
- Claim only actions schedule before the given date.
По умолчанию: now - $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 9.2.3
abstract public function stake_claim( $max_actions = 10, DateTime $before_date = null, $hooks = array(), $group = '' );