[buddypress-trac] [BuddyPress Trac] #8515: Introduce a new function to check if a Widget or a Widget Block is active into a sidebar
buddypress-trac
noreply at wordpress.org
Wed Jul 14 01:37:04 UTC 2021
#8515: Introduce a new function to check if a Widget or a Widget Block is active
into a sidebar
--------------------+----------------------
Reporter: imath | Owner: imath
Type: task | Status: assigned
Priority: normal | Milestone: 9.0.0
Component: Core | Version:
Severity: normal | Keywords:
--------------------+----------------------
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`.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8515>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list