Automattic\WooCommerce\Blocks\Shipping

ShippingController::admin_scripts()publicWC 1.0

Load admin scripts.

Method of the class: ShippingController{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ShippingController::admin_scripts() code WC 9.2.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 );
}