wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



rest_after_save_widget › Działania WordPress Hooks

Od5.8.0
Przestarzałyn/a
do_action( 'rest_after_save_widget', $id, $sidebar_id, $request, $creating )
Parametry: (4)
  • (string) $id ID of the widget being saved.
    Wymagane: Tak
  • (string) $sidebar_id ID of the sidebar containing the widget being saved.
    Wymagane: Tak
  • (WP_REST_Request) $request Request object.
    Wymagane: Tak
  • (bool) $creating True when creating a widget, false when updating.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires after a widget is created or updated via the REST API.





Źródło

do_action( 'rest_after_save_widget', $id, $sidebar_id, $request, $creating );