You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realized I might be able to have themes active while also disabling their CSS.
On setup_theme action, record the styles (and scripts?) enqueued, and which new callbacks were set on init and enqueue_scripts; on after_setup_theme remove them.
This way, we could default to having the theme active, without using its CSS.
I realized I might be able to have themes active while also disabling their CSS.
On
setup_theme
action, record the styles (and scripts?) enqueued, and which new callbacks were set on init and enqueue_scripts; onafter_setup_theme
remove them.This way, we could default to having the theme active, without using its CSS.
Helpful: https://codex.wordpress.org/Plugin_API/Action_Reference
The text was updated successfully, but these errors were encountered: