$shopid,); $content = assistant_api_call('/getShopData', $data, 'get'); $primary_id = $content['data']['id']; if ($primary_id) { update_option('accessibility_primaryid', $primary_id); } $current_plan = $content['data']['plan']; if ($current_plan) { update_option('accessibility_plan', $current_plan); } ?> $shopid, 'enable_link' => $button_link_status, 'position' => $desktop_position, 'mobile_position' => $mobile_position, 'jsChecked' => $jsChecked, 'backgroundcolor' => $backgroundcolor, 'fontcolor' => $fontcolor, 'iconcolor' => $iconcolor, 'bottom_padding' => $bottom_padding, 'widget_size' => $widget_size, 'choose_design' => $choose_design, 'widget_inner_color' => $widget_inner_color, 'widget_outer_color' => $widget_outer_color, 'statement_on_off_switch' => $statement_on_off_switch, 'statement_edit' => $statement_edit, 'statement_link' => $statement_link, 'widget_icon' => $widget_icon ); //die; // echo "
";
            // print_r($send_data);
            // echo "
"; $returnsenddata = assistant_api_call('/updateShopData', $send_data, 'post'); // echo '

here

'; // echo "
";
            // print_r($returnsenddata);
            // echo "
"; // echo 'here2'; if ($returnsenddata['status'] == 200) { echo '
× Success!
'; $data = array('shopid' => $returnsenddata['data']['shopid'],); $content = assistant_api_call('/getShopData', $data, 'get'); } else { echo '
× Error! '; echo esc_html($returnsenddata['messages']); echo '
'; } } } } ?> You have admin access

"; } if (empty($current_plan)) { echo "

"; _e('Unlock full functionality by upgrading to a paid plan', 'accessibility-assistant'); echo "

"; } ?>

%s %s

", __('You\'re on the Free plan! Unlock powerful accessibility tools by upgrading today.', 'accessibility-assistant'), esc_url($plan_page_url), __('Upgrade Plan', 'accessibility-assistant') ); } else if ($current_plan == "basic") { printf( "

%s %s

", __('You\'re on a Growth plan! Unlock even more features and customization options by upgrading today.', 'accessibility-assistant'), esc_url($plan_page_url), __('Upgrade Plan', 'accessibility-assistant') ); } else if ($current_plan == "pro") { printf( "

%s %s

", __('You\'re on a Scale plan! Unlock even more powerful features and tools by upgrading today.', 'accessibility-assistant'), esc_url($plan_page_url), __('Upgrade Plan', 'accessibility-assistant') ); } else if ($current_plan == "premium") { printf( "

%s %s

", __('You\'re on the Premium plan! Enjoy priority support and exclusive advanced accessibility features by upgrading today.', 'accessibility-assistant'), esc_url($plan_page_url), __('Upgrade Plan', 'accessibility-assistant') ); } else if ($current_plan == "established") { echo "

" . __('You\'re on the Established plan! You already have access to our top-tier features and tools.', 'accessibility-assistant') . "

"; } else { printf( "

%s %s

", __('Please upgrade your plan to continue accessing premium accessibility features.', 'accessibility-assistant'), esc_url($plan_page_url), __('Upgrade Plan', 'accessibility-assistant') ); } ?>

/>

/>




0
25
50
75
100


0
25
50
75
100




" class="widget-icon-preview-image">