Title: GET enqueued scripts?
Last modified: August 19, 2016

---

# GET enqueued scripts?

 *  [briang](https://wordpress.org/support/users/briang/)
 * (@briang)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/)
 * I am familiar with wp_enqueue_script() used by many Plugins.
 * What I would like, is a way to see all what scripts have been enqueued. Like 
   a get_enqueued_scripts().
 * Anyone know a way to find what scripts all have been enqueued?
 * thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [JohnnyPea](https://wordpress.org/support/users/johnnypea/)
 * (@johnnypea)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312602)
 * It is possible to display all enqueued scripts/styles?
 * I need this to find out which scripts/styles have been added by the plugins or
   the theme.
 *  [Ozh](https://wordpress.org/support/users/ozh/)
 * (@ozh)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312603)
 *     ```
       global $wp_scripts;
       var_dump( $wp_scripts );
       ```
   
 *  [JohnnyPea](https://wordpress.org/support/users/johnnypea/)
 * (@johnnypea)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312604)
 * Sorry but I tried this before and it returns _NULL_ or nothing at all…where should
   I put it?
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312605)
 * Try header.php after `wp_head();`
 *  [JohnnyPea](https://wordpress.org/support/users/johnnypea/)
 * (@johnnypea)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312606)
 * I already tried that. It returns _NULL_ 🙁
 *  [Michael Fields](https://wordpress.org/support/users/mfields/)
 * (@mfields)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312607)
 * Even with the global declaration? I just tried it and it printed out a whole 
   lot of information. When I removed `global $wp_scripts;` it printed `NULL`.
 *  [JohnnyPea](https://wordpress.org/support/users/johnnypea/)
 * (@johnnypea)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312608)
 * Sorry, my mistake. I switched off all the plugins so actually there was nothing
   to show 🙂
 * Thank you guys. It is working now.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘GET enqueued scripts?’ is closed to new replies.

## Tags

 * [enqueue](https://wordpress.org/support/topic-tag/enqueue/)

 * 7 replies
 * 4 participants
 * Last reply from: [JohnnyPea](https://wordpress.org/support/users/johnnypea/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/get-enqueued-scripts/#post-1312608)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
