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