Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



delete_widget ›

Seit4.4.0
Veraltetn/v
do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base )
Parameter: (3)
  • (string) $widget_id ID of the widget marked for deletion.
    Erforderlich: Ja
  • (string) $sidebar_id ID of the sidebar the widget was deleted from.
    Erforderlich: Ja
  • (string) $id_base ID base for the widget.
    Erforderlich: Ja
Definiert in:
Codex:

Fires immediately after a widget has been marked for deletion.





Quellcode

do_action( 'delete_widget', $widget_id, $sidebar_id, $id_base );