ActionScheduler_wpPostStore_PostStatusRegistrar::register()publicWC 1.0

Class ActionScheduler_wpPostStore_PostStatusRegistrar

Method of the class: ActionScheduler_wpPostStore_PostStatusRegistrar{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ActionScheduler_wpPostStore_PostStatusRegistrar::register() code WC 8.6.1

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