', n2_('Select Slider')); return $output; } class Nextend_ET_Builder_Module_Smart_Slider extends ET_Builder_Module { function init() { $this->name = 'Smart Slider 3'; $this->slug = 'et_pb_nextend_smart_slider_3'; $this->whitelisted_fields = array( 'admin_label' ); if (defined('EXTRA_LAYOUT_POST_TYPE')) { $this->post_types = array(EXTRA_LAYOUT_POST_TYPE); } $this->whitelisted_fields = array( 'slider', ); $this->fields_defaults = array(); $this->advanced_options = array(); add_action('admin_footer', 'Nextend_ET_Builder_Module_Smart_Slider::add_admin_icon'); N2SSShortcodeInsert::addForced(); } public static function add_admin_icon() { ?> array( 'label' => 'Slider', 'option_category' => 'basic_option', 'type' => 'text', 'renderer' => 'Nextend_ET_Builder_Module_Smart_Slider_Field', 'renderer_with_field' => true ), 'admin_label' => array( 'label' => esc_html__('Admin Label', 'et_builder'), 'type' => 'text', 'description' => esc_html__('This will change the label of the module in the builder for easy identification.', 'et_builder'), 'toggle_slug' => 'admin_label', ) ); return $fields; } function shortcode_callback($atts, $content = null, $function_name) { $sliderIdOrAlias = $this->shortcode_atts['slider']; $module_class = ''; $module_class = ET_Builder_Element::add_module_order_class($module_class, $function_name); if(!is_numeric($sliderIdOrAlias)){ return '