I know that wp_register_style(), wp_deregister_style() and wp_enqueue_style() are used for css style registration and enqueue management. However, I am interested in viewing ALL registered styles (whether custom or by default).

Does wp_register_style() add the script names/locations to a table in the WordPress database? If so, which? And how can I view them? Is there a function for that or do I have to create my own?

Thanks.

  • Check out the $wp_scripts and $wp_styles globals. – Andrew Bartel Feb 27 '14 at 18:40

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.