ActionScheduler_HybridStore::get_status()publicWC 1.0

Get an existing action status whether migrated or not.

Method of the class: ActionScheduler_HybridStore{}

No Hooks.

Return

null. Nothing (null).

Usage

$ActionScheduler_HybridStore = new ActionScheduler_HybridStore();
$ActionScheduler_HybridStore->get_status( $action_id );
$action_id(int) (required)
Action ID.

ActionScheduler_HybridStore::get_status() code WC 8.7.0

public function get_status( $action_id ) {
	$store = $this->get_store_from_action_id( $action_id );
	if ( $store ) {
		return $store->get_status( $action_id );
	}
	return null;
}