Skip to content

Instantly share code, notes, and snippets.

@naomiaro
Created January 23, 2021 10:07
Show Gist options
  • Save naomiaro/dbd6e5f20ee592ad9d3cd2bcd4580e1e to your computer and use it in GitHub Desktop.
Save naomiaro/dbd6e5f20ee592ad9d3cd2bcd4580e1e to your computer and use it in GitHub Desktop.
wp_enqueue_script example
wp_enqueue_script( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'js/my-script.js', array( 'jquery' ), $this->version, false );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment