idm_asw_updated_message( 'nonce_check', $get_tab, '' ); } $asw_general_setting = filter_input( INPUT_POST, 'asw_general_setting', FILTER_SANITIZE_STRING, FILTER_REQUIRE_ARRAY ); if ( isset( $asw_general_setting ) ) { update_option( 'idm_asw_general_option', $asw_general_setting ); $edit_action_redirect_url = $asw_admin_obj->idm_dynamic_url( $current_page, $current_tab, '', '', '', 'saved' ); wp_safe_redirect( $edit_action_redirect_url ); exit; } } $idm_asw_general_option = get_option( 'idm_asw_general_option' ); $shipping_selection_cost = 'user_selection_cost'; if ( !empty($idm_asw_general_option) ) { $shipping_selection_cost = asw_check_array_key_exists( 'shipping_selection_cost', $idm_asw_general_option ); if ( $shipping_selection_cost ) { $shipping_selection_cost = $shipping_selection_cost; } else { $shipping_selection_cost = 'user_selection_cost'; } } $title_text = esc_html__( 'General Setting', 'advanced-easy-shipping-for-woocommerce' ); ?>

idm_asw_updated_message( 'saved', $get_tab, '' ); } ?>