Ticket #12739: theme.php.diff
File theme.php.diff, 584 bytes (added by , 15 years ago) |
---|
-
theme.php
1539 1539 } 1540 1540 1541 1541 /** 1542 * Allows a theme to de-register its support of a certain feature 1543 * 1544 * Must be called in the themes functions.php file to work. 1545 * 1546 * @since 3.0.0 1547 * @param string $feature the feature being added 1548 */ 1549 function remove_theme_support( $feature ) { 1550 global $_wp_theme_features; 1551 1552 unset($_wp_theme_features[$feature]); 1553 } 1554 1555 /** 1542 1556 * Checks a theme's support for a given feature 1543 1557 * 1544 1558 * @since 2.9.0