base_client = $base_client; add_shortcode('darkify', array($this, 'darkify_shortcode_parser')); } public function darkify_shortcode_parser($atts, $content = null) { if (!isset($atts['switch'])) { $atts = array(); $atts['switch'] = '1'; } return $this->darkify_client_view_maker($atts); } public function darkify_client_view_maker($atts) { if (function_exists('wp_rand')) { $unique_id = wp_rand() . "_shortcode"; } $switch_styles = $this->base_client->utils->generateSwitchStylesForShortcode($atts); ob_start(); ?> 0) { ?>