array( 'value' => 'maude', 'label' => __( 'Maude', 'brownie' ), 'defaults' => array( 'default-color' => '63b6b1', 'default-description-color' => '46433a', ) ), 'babycakes' => array( 'value' => 'babycakes', 'label' => __( 'Babycakes', 'brownie' ), 'defaults' => array( 'default-color' => 'ef9595', 'default-description-color' => '774f47', ) ), 'sunny' => array( 'value' => 'sunny', 'label' => __( 'Sunny', 'brownie' ), 'defaults' => array( 'default-color' => 'e55f49', 'default-description-color' => '4c2c24', ) ), ); return apply_filters( 'brownie_theme_style', $brownie_theme_style ); } /** * Returns the default options for brownie. * */ function brownie_get_default_theme_options() { $default_theme_options = array( 'theme_style' => 'maude', 'custom_css' => '', 'support' => 0 ); return apply_filters( 'brownie_default_theme_options', $default_theme_options ); } /** * Returns the options array for brownie. * */ function brownie_get_theme_options() { return get_option( 'brownie_theme_options', brownie_get_default_theme_options() ); } /** * Renders the Theme Style setting field. * */ function brownie_settings_field_theme_style() { $options = brownie_get_theme_options(); foreach ( brownie_theme_style() as $button ) { ?>