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



rest_delete_widget › WordPress Action Hooks

Seit5.8.0
Veraltetn/v
do_action( 'rest_delete_widget', $widget_id, $sidebar_id, $response, $request )
Parameter: (4)
  • () widget_id ID of the widget marked for deletion.
    Erforderlich: Ja
  • () sidebar_id ID of the sidebar the widget was deleted from.
    Erforderlich: Ja
  • () response The response data, or WP_Error object on failure.
    Erforderlich: Ja
  • () request The request sent to the API.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after a widget is deleted via the REST API.





Quellcode

do_action( 'rest_delete_widget', $widget_id, $sidebar_id, $response, $request );