Changeset 20610 for trunk/wp-includes/theme.php
- Timestamp:
- 04/27/2012 04:54:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r20600 r20610 1513 1513 1514 1514 /** 1515 * Checks a theme's support for a given feature before loading the functions which implement it.1516 *1517 * @since 2.9.01518 * @param string $feature the feature being checked1519 * @param string $include the file containing the functions that implement the feature1520 */1521 function require_if_theme_supports( $feature, $include) {1522 if ( current_theme_supports( $feature ) )1523 require ( $include );1524 }1525 1526 /**1527 1515 * Checks an attachment being deleted to see if it's a header or background image. 1528 1516 *
Note: See TracChangeset
for help on using the changeset viewer.