function muneeb_ssp_default_slider_skin_theme_option($slider_id) { $skin = muneeb_ssp_get_slider_skin($slider_id); if ($skin !== 'default') { return FALSE; } }
function m_ssp_nivo_skin_theme_options($slider_id) { $active_skin = muneeb_ssp_get_slider_skin($slider_id); if ($active_skin !== plugin_dir_path(__FILE__)) { return FALSE; } $slider_options = muneeb_ssp_slider_options($slider_id); if (!isset($slider_options['nivo_slider_theme'])) { $active_theme = 'default'; } else { $active_theme = $slider_options['nivo_slider_theme']; } include 'theme_option_html.php'; }