do_action( 'rest_save_sidebar', array $sidebar, WP_REST_Request $request )

Fires after a sidebar is updated via the REST API.

Parameters Parameters


(array) The updated sidebar.


(WP_REST_Request) Request object.

Top ↑

Source Source

File: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.