Skip to main content
1 of 2

How to load JQuery easing script in wordpress?

Ok, first of all, I know how to do this. 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 to enqueue. Is there anyone who knows how to load the wordpress 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");