wp-content/themes/twentythirteen/functions.php:74function twentythirteen_setup() { /* * Makes Twenty Thirteen available for translation. * * Translations can be filed at WordPress.org. See: https://translate.wordpress.org/projects/wp-themes/twentythirteen * If you're building a theme based on Twenty Thirteen, use a find and * replace to change 'twentythirteen' to the name of your theme in all * template files. * * Manual loading of text domain is not required after the introduction of * just in time translation loading in WordPress version 4.6. * * @ticket 58318 */ if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) { load_theme_textdomain( 'twentythirteen' ); } /* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. When fonts are * self-hosted, the theme directory needs to be removed first. */ $font_stylesheet = str_replace( array( get_template_directory_uri() . '/', get_stylesheet_directory_uri() . '/' ), '', (string) twentythirteen_fonts_url() ); add_editor_style( array( 'css/editor-style.css', 'genericons/genericons.css', $font_stylesheet ) ); // Load regular editor styles into the new block-based editor. add_theme_support( 'editor-styles' ); // Load default block styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for responsive embeds. add_theme_support( 'responsive-embeds' ); // Add support for custom color scheme. add_theme_support( 'editor-color-palette', array( array( 'name' => __( 'Dark Gray', 'twentythirteen' ), 'slug' => 'dark-gray', 'color' => '#141412', ), array( 'name' => __( 'Red', 'twentythirteen' ), 'slug' => 'red', 'color' => '#bc360a', ), array( 'name' => __( 'Medium Orange', 'twentythirteen' ), 'slug' => 'medium-orange', 'color' => '#db572f', ), array( 'name' => __( 'Light Orange', 'twentythirteen' ), 'slug' => 'light-orange', 'color' => '#ea9629', ), array( 'name' => __( 'Yellow', 'twentythirteen' ), 'slug' => 'yellow', 'color' => '#fbca3c', ), array( 'name' => __( 'White', 'twentythirteen' ), 'slug' => 'white', 'color' => '#fff', ), array( 'name' => __( 'Dark Brown', 'twentythirteen' ), 'slug' => 'dark-brown', 'color' => '#220e10',Introduced in Twenty Thirteen 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/twentythirteen/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.