wp-includes/rest-api/class-wp-rest-server.php:1932Removes an HTTP header from the current response.
$keystring public function remove_header( $key ) { header_remove( $key ); }Introduced in 4.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/rest-api/class-wp-rest-server.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.