Skip to content

Instantly share code, notes, and snippets.

@gerrgg
Last active June 30, 2020 18:58
Show Gist options
  • Save gerrgg/a55243a603bdbbac734bd40bacbc84f2 to your computer and use it in GitHub Desktop.
Save gerrgg/a55243a603bdbbac734bd40bacbc84f2 to your computer and use it in GitHub Desktop.
<?php
// use woocommerce select2
wp_enqueue_style('select2', WC()->plugin_url() . '/assets/css/select2.css' );
wp_enqueue_script('select2', WC()->plugin_url() . '/assets/js/select2/select2.min.js', array('jquery') );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment