WordPress at Your Fingertips
function is not described

ActionScheduler_HybridStore::save_action() public WC 1.0

Save an action to the primary store.

{} It's a method of the class: ActionScheduler_HybridStore{}

No Hooks.


Int. The action ID


$ActionScheduler_HybridStore = new ActionScheduler_HybridStore();
$ActionScheduler_HybridStore->save_action( $action, $date );
$action(ActionScheduler_Action) (required)
Action object to be saved.
Schedule date.
Default: null

Code of ActionScheduler_HybridStore::save_action() WC 6.1.1

public function save_action( ActionScheduler_Action $action, DateTime $date = null ) {
	return $this->primary_store->save_action( $action, $date );