ActionScheduler_HybridStore::find_action( string $hook, array $params = array() )
Find the first matching action from the secondary store.
Description Description
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.
Parameters Parameters
- $hook
-
(Required)
- $params
-
(Optional)
Default value: array()
Return Return
(string)
Source Source
File: packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php