rest_save_sidebar

rest_save_sidebar

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('rest_save_sidebar') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php line 251
    		 *
    		 * @param array           $sidebar The updated sidebar.
    		 * @param WP_REST_Request $request Request object.
    		 */
    		do_action( 'rest_save_sidebar', $sidebar, $request );
    
    		return $this->prepare_item_for_response( $sidebar, $request );
    	}
    
    	/**
    	 * Checks if the user has permissions to make the request.