-
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
Allow filtering for global styles #25499
Conversation
Size Change: 0 B Total Size: 1.19 MB ℹ️ View Unchanged
|
This is probably not worth doing until we consolidate the structure, which I've started to do at #26803 and will continue to do so in the coming weeks. I suggest we think of the extensibility points after that is done. In any case, I'd like to hear what are the use cases you've ran into or want to support. |
Closing this PR, it is outdated and no longer applies to the new structure. This will have to be re-done at some point. |
Description
Adds new filters for global styles:
global_styles_get_presets_structure
global_styles_get_block_data
global_styles_get_stylesheet
These will allow plugins to add support for things without having to resort to hacky solutions.
Checklist: