ActionScheduler_HybridStore::fetch_action()
Retrieve an existing action whether migrated or not.
Метод класса: ActionScheduler_HybridStore{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$ActionScheduler_HybridStore = new ActionScheduler_HybridStore(); $ActionScheduler_HybridStore->fetch_action( $action_id );
- $action_id(int) (обязательный)
- Action ID.
Код ActionScheduler_HybridStore::fetch_action() ActionScheduler HybridStore::fetch action WC 7.7.0
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(); } }