Automattic\WooCommerce\Blocks\Shipping

ShippingController::admin_scripts()publicWC 1.0

Load admin scripts.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$ShippingController = new ShippingController();
$ShippingController->admin_scripts();

Код ShippingController::admin_scripts() WC 9.3.3

public function admin_scripts() {
	$this->asset_api->register_script( 'wc-shipping-method-pickup-location', 'assets/client/blocks/wc-shipping-method-pickup-location.js', array(), true );
}