wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_save_sidebar › WordPress Action Hooks

Since5.8.0
Deprecatedn/a
do_action( 'rest_save_sidebar', $sidebar, $request )
Parameters: (2)
  • (array) $sidebar The updated sidebar.
    Required: Yes
  • (WP_REST_Request) $request Request object.
    Required: Yes
Defined at:
Codex:

Fires after a sidebar is updated via the REST API.





Source

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