How to get all scripts and styles from the header. Including those added by plugins?

Question

Good afternoon!

wp_styles() or global $wp_styles gets styles from the header only of WordPress itself.

And how to get absolutely all styles from the header, including those added by plugins?

I need to get this style added by the WooCommerce plugin:

<link rel="stylesheet" id="jquery-ui-style-css" href="/wp-content/plugins/woocommerce/assets/css/jquery-ui/jquery-ui.min.css?ver=7.3.0" media="all">

But the function wp_styles() doesn’t see him.

0
Pavel Rozhdestvenskiy 1 month 2023-02-23T01:00:36-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse