WC_Gateway_Paypal_Buttons::get_optionspublicWC 1.0

Deprecated since 0.5.0. It is no longer supported and may be removed in future releases. Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_options(). This method will be removed in 11.0.0 instead.

Get the options for the PayPal buttons.

Method of the class: WC_Gateway_Paypal_Buttons{}

No Hooks.

Returns

Array.

Usage

$WC_Gateway_Paypal_Buttons = new WC_Gateway_Paypal_Buttons();
$WC_Gateway_Paypal_Buttons->get_options();

Changelog

Deprecated since 10.5.0 Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_options() instead. This method will be removed in 11.0.0.

WC_Gateway_Paypal_Buttons::get_options() code WC 10.5.0

public function get_options() {
	wc_deprecated_function(
		__METHOD__,
		'10.5.0',
		'Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_options() instead.'
	);

	return $this->buttons->get_options();
}