ActionScheduler_wpPostStore::get_date
Get date for claim id.
Method of the class: ActionScheduler_wpPostStore{}
No Hooks.
Returns
ActionScheduler_DateTime. The date the action is schedule to run, or the date that it ran.
Usage
$ActionScheduler_wpPostStore = new ActionScheduler_wpPostStore(); $ActionScheduler_wpPostStore->get_date( $action_id );
- $action_id(int) (required)
- Action ID.
ActionScheduler_wpPostStore::get_date() ActionScheduler wpPostStore::get date code WC 10.3.6
public function get_date( $action_id ) {
$next = $this->get_date_gmt( $action_id );
return ActionScheduler_TimezoneHelper::set_local_timezone( $next );
}