ActionScheduler_wpPostStore_PostStatusRegistrar::register()publicWC 1.0

Class ActionScheduler_wpPostStore_PostStatusRegistrar

Метод класса: ActionScheduler_wpPostStore_PostStatusRegistrar{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ActionScheduler_wpPostStore_PostStatusRegistrar = new ActionScheduler_wpPostStore_PostStatusRegistrar();
$ActionScheduler_wpPostStore_PostStatusRegistrar->register();

Код ActionScheduler_wpPostStore_PostStatusRegistrar::register() WC 8.7.0

public function register() {
	register_post_status( ActionScheduler_Store::STATUS_RUNNING, array_merge( $this->post_status_args(), $this->post_status_running_labels() ) );
	register_post_status( ActionScheduler_Store::STATUS_FAILED, array_merge( $this->post_status_args(), $this->post_status_failed_labels() ) );
}