Skip to main content

Display Enqueued style and script handles on a page

Home Forums WordPress Display Enqueued style and script handles on a page

Viewing 0 reply threads
  • Author
    Posts
    • #2696

      Layer7web
      Keymaster
      foreach($wp_scripts->queue as $handle) :
          echo $handle . ' <br />';
      endforeach;
      
      foreach($wp_styles->queue as $handle) :
          echo $handle . ' <br />';
      endforeach;
Viewing 0 reply threads

You must be logged in to reply to this topic.