wp-content/themes/twentytwelve/functions.php:185Enqueues scripts and styles for front end.
function twentytwelve_scripts_styles() { global $wp_styles; /* * Adds JavaScript to pages with the comment form to support * sites with threaded comments (when in use). */ if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } // Adds JavaScript for handling the navigation menu hide-and-show behavior. wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery' ), '20250303', array( 'in_footer' => false, // Because involves header. 'strategy' => 'defer', ) ); $font_url = twentytwelve_get_font_url(); if ( ! empty( $font_url ) ) { $font_version = ( 0 === strpos( (string) twentytwelve_get_font_url(), get_template_directory_uri() . '/' ) ) ? '20230328' : null; wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), $font_version ); } // Loads our main stylesheet. wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri(), array(), '20251202' ); // Theme block stylesheet. wp_enqueue_style( 'twentytwelve-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentytwelve-style' ), '20251031' ); // Register the Internet Explorer specific stylesheet. wp_register_style( 'twentytwelve-ie', false, array( 'twentytwelve-style' ) );}Introduced in Twenty Twelve 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentytwelve/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.