WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

ActionScheduler_HybridStore::stake_claim() public WC 1.0

If any actions would have been claimed by the secondary store, migrate them immediately, then ask the primary store for the canonical claim.

{} Это метод класса: ActionScheduler_HybridStore{}

Хуков нет.

Возвращает

ActionScheduler_ActionClaim.

Использование

$ActionScheduler_HybridStore = new ActionScheduler_HybridStore();
$ActionScheduler_HybridStore->stake_claim( $max_actions, $before_date, $hooks, $group );
$max_actions(число)

По умолчанию: 10
$before_date(DateTime)

По умолчанию: null

Код ActionScheduler_HybridStore::stake_claim() WC 4.7.1

<?php
public function stake_claim( $max_actions = 10, DateTime $before_date = null, $hooks = array(), $group = '' ) {
	$claim = $this->secondary_store->stake_claim( $max_actions, $before_date, $hooks, $group );

	$claimed_actions = $claim->get_actions();
	if ( ! empty( $claimed_actions ) ) {
		$this->migrate( $claimed_actions );
	}

	$this->secondary_store->release_claim( $claim );

	return $this->primary_store->stake_claim( $max_actions, $before_date, $hooks, $group );
}