do_action( ‘rest_save_sidebar’, array $sidebar, WP_REST_Request $request )

In this article

Fires after a sidebar is updated via the REST API.

Parameters

$sidebararray
The updated sidebar.
$requestWP_REST_Request
Request object.

Source

do_action( 'rest_save_sidebar', $sidebar, $request );

Changelog

VersionDescription
5.8.0Introduced.

User Contributed Notes

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