WC_Gateway_Paypal::admin_options
Admin Panel Options.
- Options for bits like 'title' and availability on a country-by-country basis.
Method of the class: WC_Gateway_Paypal{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Gateway_Paypal = new WC_Gateway_Paypal(); $WC_Gateway_Paypal->admin_options();
Changelog
| Since 1.0.0 | Introduced. |
WC_Gateway_Paypal::admin_options() WC Gateway Paypal::admin options code WC 10.5.0
<?php
public function admin_options() {
if ( $this->is_valid_for_use() ) {
parent::admin_options();
} elseif ( ! $this->should_use_orders_v2() ) {
?>
<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
}
}