Automattic\WooCommerce\Internal\Admin\Orders

Edit::enqueue_scripts()privateWC 1.0

Enqueue necessary scripts for order edit page.

Method of the class: Edit{}

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->enqueue_scripts();

Edit::enqueue_scripts() code WC 7.1.0

private function enqueue_scripts() {
	if ( wp_is_mobile() ) {
		wp_enqueue_script( 'jquery-touch-punch' );
	}
	wp_enqueue_script( 'post' ); // Ensure existing JS libraries are still available for backward compat.
}