-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add global styles PHP filters #27509
Conversation
Size Change: 0 B Total Size: 1.43 MB ℹ️ View Unchanged
|
Today I came across another issue that highlighted the importance of these filters: |
I ran into the same problem or question today as I was preparing a post about theme directory requirements for full site editing themes. Themes are required to enqueue their fonts. There needs to be a filter that is easy to use, to keep the entry barrier low. |
@jorgefilipecosta and @nosolosw, do you have it on your radar? I think I saw another PR that proposes filters for Global Styles. |
25c9da5
to
8e944f5
Compare
Closing this one as it's no longer relevant. |
See #27504
Description
Adds 2 new filters:
global_styles_get_data
: Filter JSON for global-stylesglobal_styles_get_stylesheet
: Filter generated css from global-stylesChecklist: