wp-includes/theme.php:3081Allows a theme to de-register its support of a certain feature
$featurestringbool|voidfunction remove_theme_support( $feature ) { // Do not remove internal registrations that are not used directly by themes. if ( in_array( $feature, array( 'editor-style', 'widgets', 'menus' ), true ) ) { return false; } return _remove_theme_support( $feature );}Introduced in 3.0.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
bool|void to bool.verified against sourcesrc/wp-includes/theme.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.