ActionScheduler_wpPostStore::save_post_schedule()
Save post schedule.
Метод класса: ActionScheduler_wpPostStore{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->save_post_schedule( $post_id, $schedule );
- $post_id(int) (обязательный)
- Post ID of the scheduled action.
- $schedule(строка) (обязательный)
- Schedule to save.
Код ActionScheduler_wpPostStore::save_post_schedule() ActionScheduler wpPostStore::save post schedule WC 7.7.2
protected function save_post_schedule( $post_id, $schedule ) { update_post_meta( $post_id, self::SCHEDULE_META_KEY, $schedule ); }