'', 'options' => [], 'disabled' => [], 'pro_data' => [], 'class_name' => '', 'multiple' => false, 'select2options' => [], // Select2 library options 'lockedOptions' => [], // The lockedOptions array can be passed option keys, passed option keys will be non-deletable. ]; } public function enqueue() { Plugin::enqueue_script( 'sweetalert2', 'assets/dist/js/libraries/sweetalert2.all', [], ABSOLUTE_ADDONS_VERSION, true ); Plugin::enqueue_script( 'absp_select2-control', '/assets/dist/js/absp-styles', [ 'sweetalert2' ], ABSOLUTE_ADDONS_VERSION, true ); wp_localize_script( 'absp_select2-control', 'AbspSelect2', [ 'title' => __( 'Meet the Pro Feature', 'absolute-addons' ), 'body' => __( 'Get Pro and experience all of our exciting features and widgets. You will also get world class support from our dedicated team, 24/7.', 'absolute-addons' ), 'promo_logo' => absp_plugin_url( 'assets/images/absolute-addons-promo.svg', false ), 'logo_alt' => __( 'Absolute Addons Promo', 'absolute-addons' ), 'crown' => absp_plugin_url( 'assets/images/crown.svg', false ), 'link_label' => __( 'Upgrade to Pro', 'absolute-addons' ), ] ); } public function content_template() { $control_uid = $this->get_control_uid(); ?>