data = $data; } public function get_block() { $options = blocksy_akg('ct_options', $this->data, []); $sizes = [ 'small' => 15, 'medium' => 20, 'large' => 25, ]; $old_size = blocksy_akg('social_icons_size', $options, 'medium'); if (isset($sizes[$old_size])) { $options['social_icons_size'] = $sizes[$old_size]; } $options = array_merge( [ 'title' => __('Social Icons', 'blocksy'), 'socials' => [ [ 'id' => 'facebook', 'enabled' => true, ], [ 'id' => 'twitter', 'enabled' => true, ], [ 'id' => 'instagram', 'enabled' => true, ], ], 'link_target' => 'no', 'link_nofollow' => 'no', 'social_icons_size' => '', 'items_spacing' => '', 'social_type' => 'simple', 'social_icons_fill' => 'outline', ], $options ); $innerContent = [ '