#8515 closed task (fixed)
Introduce a new function to check if a Widget or a Widget Block is active into a sidebar
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 9.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
Some of our Legacy Widgets are being displayed only if active into a sidebar. We are using the is_active_widget()
WordPress function. I haven't found an equivalent for Widget Blocks and is_active_widget()
doesn't fit in this case are all Blocks are inside a specific widget that renders blocks -> WP_Widget_Block
.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 12997: