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)
  • (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
  • (WP_REST_Response) $response The response data.
    Erforderlich: Ja
  • (WP_REST_Request) $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 );