Get info for enqueued scripts?
-
Is it possible to access the info for all enqueued scripts. For example, say I wanted to grab the
$handle
and$src
for each one and store it in an array where the handles are the keys and the src’s are the values. I figure the info must be stored in some object. I’ve been looking through the source for class.wp-dependencies.php and functions.wp-scripts.php but I haven’t been able to figure it out how to access these values.
- The topic ‘Get info for enqueued scripts?’ is closed to new replies.