Changeset 16174 for trunk/wp-includes/theme.php
- Timestamp:
- 11/04/2010 07:41:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r16115 r16174 1667 1667 1668 1668 /** 1669 * Gets the theme support arguments passed when registering that support 1670 * 1671 * @since 3.1 1672 * @param string $feature the feature to check 1673 * @return array The array of extra arguments 1674 */ 1675 function get_theme_support( $feature ) { 1676 global $_wp_theme_features; 1677 if ( !isset( $_wp_theme_features[$feature] ) ) 1678 return false; 1679 else 1680 return $_wp_theme_features[$feature]; 1681 } 1682 1683 /** 1669 1684 * Allows a theme to de-register its support of a certain feature 1670 1685 *
Note: See TracChangeset
for help on using the changeset viewer.