ActionScheduler_wpPostStore_PostStatusRegistrar::register
Registrar.
Метод класса: ActionScheduler_wpPostStore_PostStatusRegistrar{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ActionScheduler_wpPostStore_PostStatusRegistrar = new ActionScheduler_wpPostStore_PostStatusRegistrar(); $ActionScheduler_wpPostStore_PostStatusRegistrar->register();
Код ActionScheduler_wpPostStore_PostStatusRegistrar::register() ActionScheduler wpPostStore PostStatusRegistrar::register WC 11.2.2
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() ) );
}