Automattic\WooCommerce\Admin\Features\OnboardingTasks\Tasks
Payments::in_progress_label
The task in progress label.
Метод класса: Payments{}
Хуков нет.
Возвращает
Строку.
Использование
$Payments = new Payments(); $Payments->in_progress_label();
Код Payments::in_progress_label() Payments::in progress label WC 10.8.1
public function in_progress_label() {
// If WooPayments live account onboarding is in progress, show "Action needed" label.
if ( $this->has_woopayments_live_account_in_progress() ) {
return esc_html__( 'Action needed', 'woocommerce' );
}
return esc_html__( 'Test account', 'woocommerce' );
}