Codex

Function Reference/remove theme support

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

Allows a theme to de-register its support of a certain theme 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.

Usage

<?php remove_theme_support$feature ); ?>

Parameters

$feature
(string) (required) Name for the feature the feature being removed.
Default: None

Returns

returns boolean value on whether the feature was removed

Notes

Change Log

Source File

remove_theme_support() is located in wp-includes/theme.php.

Related

Theme Support: add_theme_support(), remove_theme_support(), current_theme_supports()
Theme Features: widgets, menus, post-formats, post-thumbnails, custom-background, custom-header, automatic-feed-links, editor-style

See also index of Function Reference and index of Template Tags.