WordPress at Your Fingertips
function is not described

WC_Gateway_Paypal::admin_options() public WC 1.0.0

Admin Panel Options.

  • Options for bits like 'title' and availability on a country-by-country basis.

{} It's a method of the class: WC_Gateway_Paypal{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Gateway_Paypal = new WC_Gateway_Paypal();
$WC_Gateway_Paypal->admin_options();

Changelog

Since 1.0.0 Introduced.

Code of WC_Gateway_Paypal::admin_options() WC 5.6.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
	}
}