A WordPress-centric search engine for devs and theme authors



wp_unregister_sidebar_widget ›

Since3.0.0
Deprecatedn/a
do_action( 'wp_unregister_sidebar_widget', $id )
Parameters:
  • (int) $id The widget ID.
    Required: Yes
Defined at:
Codex:

Fires just before a widget is removed from a sidebar.





Source

do_action( 'wp_unregister_sidebar_widget', $id );