This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <fcntl.h> | |
#include <err.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
import 'package:provider/provider.dart'; | |
void main() { | |
runApp(const App()); | |
} | |
class App extends StatelessWidget { | |
const App({Key? key}) : super(key: key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- woocommerce-subscriptions/includes/class-wc-subscriptions-switcher.php 2018-12-24 15:06:02.000000000 +0530 | |
+++ class-wc-subscriptions-switcher.php 2019-02-13 17:02:20.231498086 +0530 | |
@@ -730,6 +730,22 @@ | |
$subscription = wcs_get_subscription( $cart_item['subscription_switch']['subscription_id'] ); | |
$existing_item = wcs_get_order_item( $cart_item['subscription_switch']['item_id'], $subscription ); | |
+ /** | |
+ * ====== CUSTOM CODE START @rmalviya ====== | |
+ */ | |
+ $subs_id = $subscription->get_id(); |