WordPress.org

Ready to get started?Download WordPress

Forums

Get info for enqueued scripts? (1 post)

  1. ryanve
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic