ActionScheduler_wpPostStore::save_post_schedule
Save post schedule.
Метод класса: ActionScheduler_wpPostStore{}
Хуков нет.
Возвращает
void. Ничего (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 11.2.1
protected function save_post_schedule( $post_id, $schedule ) {
update_post_meta( $post_id, self::SCHEDULE_META_KEY, $schedule );
}