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)
  • () id ID of the widget being saved.
    Wymagane: Tak
  • () sidebar_id ID of the sidebar containing the widget being saved.
    Wymagane: Tak
  • () request Request object.
    Wymagane: Tak
  • () 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 );