WC_Gateway_Paypal::admin_options()
Admin Panel Options.
- Options for bits like 'title' and availability on a country-by-country basis.
Метод класса: WC_Gateway_Paypal{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WC_Gateway_Paypal = new WC_Gateway_Paypal(); $WC_Gateway_Paypal->admin_options();
Список изменений
С версии 1.0.0 | Введена. |
Код WC_Gateway_Paypal::admin_options() WC Gateway Paypal::admin options WC 8.7.0
<?php public function admin_options() { if ( $this->is_valid_for_use() ) { parent::admin_options(); } else { ?> <div class="inline error"> <p> <strong><?php esc_html_e( 'Gateway disabled', 'woocommerce' ); ?></strong>: <?php esc_html_e( 'PayPal Standard does not support your store currency.', 'woocommerce' ); ?> </p> </div> <?php } }