WordPress at Your Fingertips
function is not described

ActionScheduler_wpPostStore_PostStatusRegistrar::register() public WC 1.0

Class ActionScheduler_wpPostStore_PostStatusRegistrar

{} It's a method of the class: ActionScheduler_wpPostStore_PostStatusRegistrar{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of ActionScheduler_wpPostStore_PostStatusRegistrar::register() WC 6.1.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() ) );
}