the $wp_scripts
global holds all the script data:
function wpa54064_inspect_scripts() {
global $wp_scripts;
foreach( $wp_scripts->queue as $handle ) :
echo $handle;
endforeach;
}
add_action( 'wp_print_scripts', 'wpa54064_inspect_scripts' );
Related Posts:
- How can I get a list of all enqueued scripts and styles?
- How to properly dequeue scripts and styles in child theme?
- How to load JQuery easing script in wordpress?
- How to remove some external js files from source?
- Select2 in WordPress
- wp_enqueue_script with dependencies doesn’t work
- Help with enqueing scripts in footer after init action
- How to load script-related styles automatically?
- How to cancel `wp_print_scripts`?
- How do I enqueue a JavaScript in my footer via the functions.php file?
- Retrieve URL of Script/Style and Dependencies
- Is there a way to list all the JavaScript scripts that are actually loaded by WordPress? Do we care?
- Styles and scripts inside template part
- wp_dequeue_style and wp_dequeue_script not working on server but does work on local xampp
- why quotes shown in WordPress?
- Enqueuing a script before anything else
- wp_enqueue_script was called incorrectly Issue when active plugins of WordPress Admin Bar Improved
- is there a way to get all queued scripts/styles into a template without `get_header()`?
- How do I pass $in_foooter to wp_enqueue_script() without passing other params?
- How to get, in WP page’s script, a wp enqueued script (in Functions.php)?
- How do I display the handle for all front-end enqueued scripts in plugin options page?
- Load CSS/Javascript in frontend conditionally if block is used
- How can I de-register ALL styles all at once? And same with Javascript?
- Cannot deregister a script using wp_deregister_script
- Removing specific style from wp_head
- How to dequeue / deregister any theme styles and scripts
- Using wp_enqueue_script on shortcode function handler
- Enqueue script only for IE
- Conditionally dequeue dependency of scripts
- Benefits to enqueuing site scripts/stylesheets?
- Including javascript for a shortcode
- Trigger a php file on every post or page if a condition is met
- wp_enqueue_script vs. wp_register_script
- Adding dependencies to script enqueing
- How to dequeue / deregister parent theme style
- Why is it wrong to use admin_print_scripts-{hook} to enqueue a script (.js) file?
- WordPress Script Loading/Unloading — wp_deregister_script(‘jquery’)
- Enqueueing Scripts on a Custom Top-level Menu Page
- How to switch css files according to devices and button click?
- Performance-wise, is it better to enqueue a (small) script on every page or test to see if it’s needed?
- Bootstrap js refuses to load
- Stop WordPress editor embedding links
- Enque Typekit Fonts – Not Found
- Notice: wp_enqueue_script was called incorrectly
- Do we have to register JQuery if we want to use it in wp_enqueue_script()?
- wp_head() – list hooked actions with priorities?
- using conditionals on enqueue styles
- Including files in Child Themes
- Can’t load JS File
- Exclude external uri for css and js version
- Do I need to register my own created .js and .css files
- How to enqueu php files with custom variable & conditionals?
- Change script type and src of plugins in theme
- How to enqueue the script without hardcoded in the theme files?
- Why is .map being added to the end of my file path?
- How can I properly enqueue tags in WordPress to use with Web Components?
- Enqueuing script is adding extra text for google maps [closed]
- Custom script file enqueue has “?ver=4.5.1” when loading and doesn’t update
- get_stylesheet_directory() in child theme breaks parent scripts
- Not all my scripts are enqueueing
- JavaScript is not enqueuing
- Why is JavaScript being added to header as application/oembed?
- browser showing connection was reset while accessing posts from local host
- Scripts not loading when using the wp_enqueue_scripts action
- wp_enqueue_style referencing parent theme
- how to enqueue javascript to manipulate acf input field in admin?
- add WordPress script to page conditionally by category
- load jquery in footer not working
- load a different stylesheet in a category post
- I want to set global directory locations for my CSS and JS locations. How?
- Fatal error: Call to undefined function wp_enqueue_media()
- javascript file is not enqueing
- Calling wp_localize_script in a different function
- Setting Variable Path to Template Directory inside Script
- thickbox never gets called (weird behavior)
- Modifying an enqueued script URL
- Copy permalink to clipboard automatically when publish/update posts?
- WordPress wp_enqueue_style and wp_enqueue_script not working
- Stylesheets and scripts not loading
- Unable to defer loading of jquery
- Enqueue registered dependencies only when necessary
- Scripts and stylesheets failing to load in Chrome IOS (and only Chrome IOS)
- wp_enqueue_scripts action from a plugin overrides theme wp_enqueue_scripts no matter what the priority setting
- Trouble with wp_enqueue_script
- Can’t get jquery script to work
- Dealing with multiple Google maps API calls
- Proper use of wp_localize_script?
- Prevent caching when using wp_enqueue_script?
- Should I be enqueueing styles/scripts once and then dequeueing them?
- How can I remove the site URL from enqueued scripts and styles?
- Dequeue set-post-thumbnail.min.js
- Initializing scripts in wordpress
- css3-mediaqueries-js failing with child theme
- Enqueueing Script to footer puts it at the very bottom
- wp_enqueue_scripts hangs
- Enqueue Script in custom plugin before other
- Using wp_enqueue_script in a wordpress plugin
- wp_script_is(‘enqueued’) true, but file not requested in HTML
- Should I use wp_register_style(), wp_enqueue_style, or both?
- Auto updating JavaScript dependancy in functions.php