[wp-trac] [WordPress Trac] #55175: Widgets: Allow filtering args in `the_widget`

WordPress Trac noreply at wordpress.org
Wed Feb 16 05:15:28 UTC 2022


#55175: Widgets: Allow filtering args in `the_widget`
-------------------------+-----------------------------
 Reporter:  noisysocks   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+-----------------------------

Comment (by noisysocks):

 Adding a new `the_widget_args` filter to `the_widget` makes sense to me.

 {{{
 $args = apply_filters( 'the_widget_args', $args, $instance, $widget );
 }}}

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


More information about the wp-trac mailing list