// Exit if accessed directly } //$test_mode = 'enabled'; if (isset($test_mode) && $test_mode == 'enabled') { update_option('linksync_test', 'on'); } else { update_option('linksync_test', 'off'); } //Uncomment $check_duplicate_tool to Enable the tool //$check_duplicate_tool = 'enabled'; /* * Reset Product and Order Syncing Setting */ if (isset($_POST['rest'])) { $linksync = new linksync(); $linksync->linksync_restOptions(); linksync_class::add('Reset Option', 'success', "Reset Product and Order Syncing Setting", '-'); $class1 = 'error'; $class2 = 'updated'; $response = 'Successfully! Reset Syncing Setting.'; ?> <script> linksync_jQuery1(document).ready(function() { linksync_jQuery1('#response').removeClass("<?php echo $class1; ?> ").addClass("<?php echo $class2; ?> ").html("<?php echo $response;