samcy (April 21st, 2012)

add_action('admin_init','my_colors');
function my_colors() {
global $options_settings;
$my_colors = array(
'style-1.css' => 'My Style 1' ,
'style-2.css' => 'My Style 2' ,
// add more styles below
);
$options_settings[2]['options'] = array_merge ( $options_settings[2]['options'], $my_colors ) ;
}

samcy (April 21st, 2012)
spartac (April 21st, 2012)


There are currently 1 users browsing this thread. (0 members and 1 guests)