Skip to main content
2 of 2
added 32 characters in body
Johannes Pille
  • 11.1k
  • 3
  • 42
  • 53

How to load JQuery easing script in wordpress?

Ok, first of all, I know how to do this manually.
I could just download easing, place it in my plugin folder and load it using wp_enqueue_script. However, I want to load my script in a long-term way, ensuring that I use the same version of the easing script wordpress uses.

So what I am looking for, is a way to load easing in wordpress using wp_enqueue_script, as seen below. I have looked at the function reference for wp_enqueue_script, but I can't seem to find the right file/handle to enqueue. Is there anyone who knows how to load the WordPress-native easing script?

//I know this works because I've used it a thousand times already
wp_enqueue_script("jquery");

//I want something like this without having to use my own script
wp_enqueue_script("jquery-easing");