Snippets: Load WooCommerce plus/minus button script site wide.

add_action( 'wp_enqueue_scripts', function() {

	if ( ! defined( 'WPEX_THEME_VERSION' ) ) {
		return;
	}

	wp_enqueue_script(
		'wpex-wc-quantity-increment',
		wpex_asset_url( 'js/dynamic/woocommerce/wc-quantity-increment.min.js' ),
		array( 'jquery' ),
		WPEX_THEME_VERSION,
		true
	);

} );
All PHP snippets should be added via a child theme's functions.php file.