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

ActionScheduler_HybridStore::find_action() public WC 1.0

Find the first matching action from the secondary store. If it exists, migrate it to the primary store immediately. After it migrates, the secondary store will logically contain the next matching action, so return the result thence.

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

Хуков нет.

Возвращает

Строку. Ничего.

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

$ActionScheduler_HybridStore = new ActionScheduler_HybridStore();
$ActionScheduler_HybridStore->find_action( $hook, $params );
$hook(строка) (обязательный)
-
$params(массив)
-

Код ActionScheduler_HybridStore::find_action() WC 5.3.0

<?php
public function find_action( $hook, $params = [] ) {
	$found_unmigrated_action = $this->secondary_store->find_action( $hook, $params );
	if ( ! empty( $found_unmigrated_action ) ) {
		$this->migrate( [ $found_unmigrated_action ] );
	}

	return $this->primary_store->find_action( $hook, $params );
}