- Timestamp:
- 07/25/2012 05:30:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/inc/custom-header.php
r21328 r21329 11 11 /** 12 12 * Set up the WordPress core custom header arguments and settings. 13 * 14 * Use add_theme_support() to register support for WordPress 3.4+ 13 * Use add_theme_support() to register support for 3.4 and up. 15 14 * 16 15 * @uses twentytwelve_header_style() … … 18 17 * @uses twentytwelve_admin_header_image() 19 18 * 20 * @ package Twenty_Twelve19 * @since Twenty Twelve 1.0 21 20 */ 22 21 function twentytwelve_custom_header_setup() { … … 44 43 ); 45 44 46 // Add support and allow child themes to filter any of these arguments. 47 add_theme_support( 'custom-header', apply_filters( 'twentytwelve_custom_header_args', $args ) ); 45 add_theme_support( 'custom-header', $args ); 48 46 } 49 47 add_action( 'after_setup_theme', 'twentytwelve_custom_header_setup' );
Note: See TracChangeset
for help on using the changeset viewer.