[wp-trac] [WordPress Trac] #34226: Add 'widget_display_callback' filter to the_widget()
WordPress Trac
noreply at wordpress.org
Wed Aug 14 23:02:35 UTC 2019
#34226: Add 'widget_display_callback' filter to the_widget()
-------------------------+-----------------------------
Reporter: MarcGuay | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.3
Component: Widgets | Version: 4.3.1
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: template
-------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"45798" 45798]:
{{{
#!CommitTicketReference repository="" revision="45798"
Widgets: Allow for short-circuiting widget output in `the_widget()` using
the `widget_display_callback` filter, for consistency with output via a
registered sidebar.
Props MarcGuay, donmhico.
Fixes #34226.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34226#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list