Open JiveDig opened 5 years ago
I have SSI installed on a site but when I dump all my scripts via:
add_action( 'genesis_before_loop', function() { if ( ! current_user_can( 'manage_options' ) ) { return; } global $wp_scripts; foreach ( $wp_scripts->queue as $handle ) { echo '<pre>'; print_r( $handle ); echo '</pre>'; } });
I see svg-x-use in the list.
svg-x-use
After looking in dev tools I see the CSS is loaded too.
It would be great to check for widgets before enqueueing too. May be easier said than done, as I haven't attempted that yet.
I have SSI installed on a site but when I dump all my scripts via:
I see
svg-x-use
in the list.After looking in dev tools I see the CSS is loaded too.
It would be great to check for widgets before enqueueing too. May be easier said than done, as I haven't attempted that yet.