WP_REST_Attachments_Controller::register_routes()
Method: Registers the routes for attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:34
Method: Registers the routes for attachments.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:34
Method: Prepares a single sidebar output for response.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:316
Method: Inserts the attachment post in the database. Does not update the attachment meta.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:236
Method: Prepares links for the sidebar.
Source: wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php:395
Method: Performs post processing on an attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:377
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 given request can perform post processing on an attachment.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:398
Method: Site Health controller constructor.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:35
Method: Checks if a given request has access to editing media.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:410
Method: Registers API routes.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:50