Changeset 2222403
- Timestamp:
- 01/05/2020 07:55:50 PM (6 years ago)
- Location:
- shopybot-woocommerce/trunk
- Files:
-
- 3 edited
-
includes/class-wc-shopybot-integration.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
shopybot-woocommerce.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shopybot-woocommerce/trunk/includes/class-wc-shopybot-integration.php
r2220716 r2222403 46 46 // Filters 47 47 add_filter('mod_rewrite_rules', array($this, 'add_htaccess_rule')); 48 }48 } 49 49 50 50 public function add_htaccess_rule($rules) { -
shopybot-woocommerce/trunk/readme.txt
r2220716 r2222403 4 4 Requires at least: 3.9 5 5 Tested up to: 5.3.2 6 Stable tag: 1.0. 96 Stable tag: 1.0.10 7 7 License: GNU GENERAL PUBLIC LICENSE Version 3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 100 100 == Changelog == 101 101 102 = 1.0.10 = 103 Added uninstall hook 104 102 105 = 1.0.9 = 103 106 1. fixed empty products error -
shopybot-woocommerce/trunk/shopybot-woocommerce.php
r2220716 r2222403 2 2 3 3 /** 4 * Shopybot - Facebook Chat bot for your WooCommerce4 * Shopybot - Facebook ChatBot for your WooCommerce shop 5 5 * 6 6 * This file is read by WordPress to generate the plugin information in the plugin … … 10 10 * 11 11 * @link https://www.shopybot.com 12 * @since 1.0. 912 * @since 1.0.10 13 13 * @package Shopybot_Woocommerce 14 14 * 15 15 * @wordpress-plugin 16 * Plugin Name: ShopyBot - Facebook Chat bot for WooCommerce16 * Plugin Name: ShopyBot - Facebook ChatBot for WooCommerce 17 17 * Plugin URI: https://www.shopybot.com/connect-bot/woocommerce 18 * Description: Easy way tosell your products in Facebook Messenger19 * Version: 1.0. 918 * Description: Create a ChatBot and sell your products in Facebook Messenger 19 * Version: 1.0.10 20 20 * Author: ShopyBot 21 21 * Author URI: https://www.shopybot.com … … 95 95 96 96 endif; 97 98 register_uninstall_hook( __FILE__, 'shopybot_woocommerce_uninstall' ); 99 function shopybot_woocommerce_uninstall() { 100 global $wpdb; 101 102 // cleanup shopybot options 103 delete_option('shopybot_api_key'); 104 delete_option('shopybot_shop_token'); 105 delete_option('shopybot_connect_fb_page_url'); 106 delete_option('shopybot_connect_shop_url'); 107 delete_option('shopybot_disconnect_shop_url'); 108 delete_option('shopybot_disconnect_fb_page_url'); 109 delete_option('shopybot_fb_page_id'); 110 delete_option('shopybot_fb_page_name'); 111 112 delete_option('shopybot-woocommerce_in_process'); 113 delete_option('shopybot-woocommerce_page'); 114 delete_option('shopybot-woocommerce_pages'); 115 delete_option('shopybot-woocommerce_lock'); 116 delete_option('shopybot-woocommerce_get_ids'); 117 118 // delete all cached products 119 $table_name = $wpdb->prefix . 'postmeta'; 120 $sql = "DELETE FROM $table_name WHERE meta_key = 'shopybot-woocommerce_yml_offer'"; 121 $wpdb->query($sql); 122 }
Note: See TracChangeset
for help on using the changeset viewer.