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
Class: Core class used to manage a site’s sidebars.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:19
Method: Sidebars controller constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:34
Method: Registers the controllers routes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:44
Method: Checks if a given request has access to get sidebars.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:96
Method: Retrieves the list of sidebars (active or inactive).
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:121
Method: Checks if a given request has access to get a single sidebar.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:154
Filter Hook: Filters the number of revisions to save for the given post by its post type.
Source: wp-includes/revision.php:698