WC_Gateway_Paypal_Buttons::get_common_options
Устарела с версии 0.5.0. Больше не поддерживается и может быть удалена. Используйте
Automattic\WooCommerce\Gateways\PayPal\Buttons::get_common_options(). This method will be removed in 11.0.0.Get the common attributes for the PayPal JS SDK script and modules.
Метод класса: WC_Gateway_Paypal_Buttons{}
Хуков нет.
Возвращает
array.
Использование
$WC_Gateway_Paypal_Buttons = new WC_Gateway_Paypal_Buttons(); $WC_Gateway_Paypal_Buttons->get_common_options();
Список изменений
| Устарела с 10.5.0 | Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_common_options() instead. This method will be removed in 11.0.0. |
Код WC_Gateway_Paypal_Buttons::get_common_options() WC Gateway Paypal Buttons::get common options WC 11.2.2
public function get_common_options() {
wc_deprecated_function(
__METHOD__,
'10.5.0',
'Use Automattic\WooCommerce\Gateways\PayPal\Buttons::get_common_options() instead.'
);
return $this->buttons->get_common_options();
}