wp-content/themes/twentyeleven/inc/theme-options.php:416Enqueue the styles for the current color scheme.
One hook fires while twentyeleven_enqueue_color_scheme() runs, in this order:
Fires after the styles for the Twenty Eleven color scheme are enqueued.
function twentyeleven_enqueue_color_scheme() { $options = twentyeleven_get_theme_options(); $color_scheme = $options['color_scheme']; if ( 'dark' === $color_scheme ) { wp_enqueue_style( 'dark', get_template_directory_uri() . '/colors/dark.css', array(), '20240603' ); } /** * Fires after the styles for the Twenty Eleven color scheme are enqueued. * * @since Twenty Eleven 1.0 * * @param string $color_scheme The color scheme. */ do_action( 'twentyeleven_enqueue_color_scheme', $color_scheme );}Introduced in Twenty Eleven 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/twentyeleven/inc/theme-options.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.