WordPress at Your Fingertips
function is not described

WC_Admin_Exporters::admin_scripts() public WC 1.0

Enqueue scripts.

{} It's a method of the class: WC_Admin_Exporters{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Admin_Exporters::admin_scripts() WC 5.9.0

public function admin_scripts() {
	$suffix  = Constants::is_true( 'SCRIPT_DEBUG' ) ? '' : '.min';
	$version = Constants::get_constant( 'WC_VERSION' );
	wp_register_script( 'wc-product-export', WC()->plugin_url() . '/assets/js/admin/wc-product-export' . $suffix . '.js', array( 'jquery' ), $version );
	wp_localize_script(
		'wc-product-export',
		'wc_product_export_params',
		array(
			'export_nonce' => wp_create_nonce( 'wc-product-export' ),
		)
	);
}