Automattic\WooCommerce\Blocks\Payments\Integrations

AbstractPaymentMethodType::get_script_data()publicWC 1.0

An array of key, value pairs of data made available to the block on the client side.

Alias of get_payment_method_data. Defined by IntegrationInterface.

Метод класса: AbstractPaymentMethodType{}

Хуков нет.

Возвращает

Массив.

Использование

$AbstractPaymentMethodType = new AbstractPaymentMethodType();
$AbstractPaymentMethodType->get_script_data();

Код AbstractPaymentMethodType::get_script_data() WC 8.7.0

public function get_script_data() {
	return $this->get_payment_method_data();
}