Get info (url) from already enqueued styles

Registered styles are in the $wp_styles global, and registered scripts are in $wp_scripts. You can var_dump them to see their structure.

global $wp_scripts;
echo $wp_scripts->registered['tt-easy-google-fonts']->src;

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)