ActionScheduler_wpPostStore_PostStatusRegistrar::register()publicWC 1.0

Class ActionScheduler_wpPostStore_PostStatusRegistrar

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

Хуков нет.

Возвращает

null. Ничего.

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

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

Код ActionScheduler_wpPostStore_PostStatusRegistrar::register() WC 6.9.4

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() ) );
}