WP_REST_Attachments_Controller::insert_attachment()
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: 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
Method: Applies edits to a media item and creates a new attachment record.
Source: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:430
Method: Validates if the current user can request this REST endpoint.
Source: wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php:188