ActionScheduler_Store::save_action
Save action.
Method of the class: ActionScheduler_Store{}
No Hooks.
Returns
Int. The action ID
Usage
$ActionScheduler_Store = new ActionScheduler_Store(); $ActionScheduler_Store->save_action( $action, ?DateTime $scheduled_date );
- $action(ActionScheduler_Action) (required)
- Action to save.
- ?DateTime $scheduled_date
- .
Default:null
ActionScheduler_Store::save_action() ActionScheduler Store::save action code WC 10.6.2
abstract public function save_action( ActionScheduler_Action $action, ?DateTime $scheduled_date = null );