WordPress at a glance
function is not described

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.

{} It's a method of the class: ActionScheduler_HybridStore{}

No Hooks.

Return

String. Nothing.

Usage

$ActionScheduler_HybridStore = new ActionScheduler_HybridStore();
$ActionScheduler_HybridStore->find_action( $hook, $params );
$hook(string) (required)
-
$params(array)
-

Code of ActionScheduler_HybridStore::find_action() WC 5.2.2

<?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 );
}