function twentyeleven_get_default_link_color( $color_scheme = null ) {}

Returns the default link color for Twenty Eleven, based on color scheme.


  • $string $color_scheme: Color scheme. Defaults to the active color scheme.

Return values


Source code

function twentyeleven_get_default_link_color( $color_scheme = null ) {

	if ( null === $color_scheme ) {

		$options = twentyeleven_get_theme_options();

		$color_scheme = $options['color_scheme'];


	$color_schemes = twentyeleven_color_schemes();

	if ( ! isset( $color_schemes[ $color_scheme ] ) )

		return false;

	return $color_schemes[ $color_scheme ]['default_link_color'];



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: