ActionScheduler_Store::save_action()
Метод класса: ActionScheduler_Store{}
Хуков нет.
Возвращает
int
. The action ID
Использование
$ActionScheduler_Store = new ActionScheduler_Store(); $ActionScheduler_Store->save_action( $action, $scheduled_date );
- $action(ActionScheduler_Action) (обязательный)
- -
- $scheduled_date(DateTime)
- Optional Date of the first instance to store. Otherwise uses the first date of the action's schedule.
По умолчанию: NULL
Код ActionScheduler_Store::save_action() ActionScheduler Store::save action WC 9.3.3
abstract public function save_action( ActionScheduler_Action $action, DateTime $scheduled_date = NULL );