ActionScheduler_HybridStore::fetch_action()
Retrieve an existing action whether migrated or not.
Method of the class: ActionScheduler_HybridStore{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_HybridStore = new ActionScheduler_HybridStore(); $ActionScheduler_HybridStore->fetch_action( $action_id );
- $action_id(int) (required)
- Action ID.
ActionScheduler_HybridStore::fetch_action() ActionScheduler HybridStore::fetch action code WC 9.3.3
public function fetch_action( $action_id ) { $store = $this->get_store_from_action_id( $action_id, true ); if ( $store ) { return $store->fetch_action( $action_id ); } else { return new ActionScheduler_NullAction(); } }