ActionScheduler_Store::get_status_labels │ public │ WC 1.0

Get status labels.

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

Хуков нет.

Возвращает

array<string, string>.

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

$ActionScheduler_Store = new ActionScheduler_Store();
$ActionScheduler_Store->get_status_labels();

Код ActionScheduler_Store::get_status_labels() WC 11.3.0

public function get_status_labels() {
	return array(
		self::STATUS_COMPLETE => __( 'Complete', 'woocommerce' ),
		self::STATUS_PENDING  => __( 'Pending', 'woocommerce' ),
		self::STATUS_RUNNING  => __( 'In-progress', 'woocommerce' ),
		self::STATUS_FAILED   => __( 'Failed', 'woocommerce' ),
		self::STATUS_CANCELED => __( 'Canceled', 'woocommerce' ),
	);
}