ActionScheduler_HybridStore::get_date() public WC 1.0
Get the schedule date an existing action whether migrated or not.
{} It's a method of the class: ActionScheduler_HybridStore{}
No Hooks.
Return
null
. Nothing.
Usage
$ActionScheduler_HybridStore = new ActionScheduler_HybridStore(); $ActionScheduler_HybridStore->get_date( $action_id );
- $action_id(int) (required)
- Action ID.
Code of ActionScheduler_HybridStore::get_date() ActionScheduler HybridStore::get date WC 5.2.2
public function get_date( $action_id ) {
$store = $this->get_store_from_action_id( $action_id );
if ( $store ) {
return $store->get_date( $action_id );
} else {
return null;
}
}