rest_prepare_sidebar
Filter Hook: Filters the REST API response for a sidebar.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:384
Filter Hook: Filters the REST API response for a sidebar.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:384
Method: Prepares links for the sidebar.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:395
Method: Retrieves the block type’ schema, conforming to JSON Schema.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:417
Method: Checks if a sidebar can be read publicly.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:173
Method: Retrieves one sidebar from the collection.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:185
Method: Checks if a given request has access to update sidebars.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:204
Method: Updates a sidebar.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:216
Action Hook: Fires after a sidebar is updated via the REST API.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:251
Method: Checks if the user has permissions to make the request.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:263
Method: Retrieves the registered sidebar with the given id.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:285