[wp-trac] [WordPress Trac] #61605: Add Support for dynamically changing WordPress styles variations using filter

WordPress Trac noreply at wordpress.org
Wed Jul 10 05:17:55 UTC 2024


#61605: Add Support for dynamically changing WordPress styles variations using
filter
-------------------------+------------------------------
 Reporter:  noamanahmed  |       Owner:  (none)
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by noamanahmed):

 I am trying to achieve the functionality using a custom plug-in and all
 the current functionality is tied to a theme (child or parent)

 The end goal is to allow the functionality to be tweaked using a plug in

 Can you share some functions or other files which needs to be changed
 according to your approach so I can review that too?

 @aaronrobertshaw I am not a WP Core contributor and I would need a little
 guidance in what you are suggesting.

 Do you think I should create a new WP_Style_Variation_Registry and a new
 global function register_style_variation?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61605#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list