I'd like to add something to wp_head()
but I'm aiming precise location (like after style.css but before rtl.css and before my other custom script). I'm wondering if it's possible to list everything that is attached to wp_head()
in execution/display order anyhow?
I know that I can pass priority/order parameter to add_action
but I need to know what number will that be.
add_action( 'wp_head', 'my_function', 10 );
It all starts with 10
but somehow rtl.css seems to be always after style.css. Is it 11
maybe? How do I find that out?