WordPress at a glance

remove_theme_support() WP 1.0

Allows a theme to de-register its support of a certain feature

Should be called in the theme's functions.php file. Generally would be used for child themes to override support from the parent theme.

No Hooks.


true/false/null. Whether feature was removed.


remove_theme_support( $feature );
$feature(string) (required)
The feature being removed.


  • See: add_theme_support()


Since 3.0.0 Introduced.

Code of remove theme support: wp-includes/theme.php WP 5.4.2

function remove_theme_support( $feature ) {
	// Blacklist: for internal registrations not used directly by themes.
	if ( in_array( $feature, array( 'editor-style', 'widgets', 'menus' ) ) ) {
		return false;

	return _remove_theme_support( $feature );

Related Functions

From tag: Theme supports (theme_support)

More from category: Other Theme Functions

No comments
        Log In . Register