Automattic\WooCommerce\Blocks\Payments

PaymentMethodTypeInterface::is_active()publicWC 1.0

Returns if this payment method should be active. If false, the scripts will not be enqueued.

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

Хуков нет.

Возвращает

true|false.

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

$PaymentMethodTypeInterface = new PaymentMethodTypeInterface();
$PaymentMethodTypeInterface->is_active();

Код PaymentMethodTypeInterface::is_active() WC 8.7.0

public function is_active();