Automattic\WooCommerce\Blocks\Payments
PaymentMethodTypeInterface::is_active
Returns if this payment method should be active. If false, the scripts will not be enqueued.
Метод класса: PaymentMethodTypeInterface{}
Хуков нет.
Возвращает
boolean.
Использование
$PaymentMethodTypeInterface = new PaymentMethodTypeInterface(); $PaymentMethodTypeInterface->is_active();
Код PaymentMethodTypeInterface::is_active() PaymentMethodTypeInterface::is active WC 11.2.1
public function is_active();