WordPress at Your Fingertips
function is not described

ActionScheduler_wpPostStore::save_post_schedule() protected WC 1.0

Save post schedule.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->save_post_schedule( $post_id, $schedule );
$post_id(int) (required)
Post ID of the scheduled action.
$schedule(string) (required)
Schedule to save.

Code of ActionScheduler_wpPostStore::save_post_schedule() WC 6.1.0

protected function save_post_schedule( $post_id, $schedule ) {
	update_post_meta( $post_id, self::SCHEDULE_META_KEY, $schedule );
}