Changeset 1798967
- Timestamp:
- 01/08/2018 11:50:14 AM (8 years ago)
- Location:
- happyfox-chat-for-woocommerce/trunk
- Files:
-
- 3 added
- 3 deleted
- 2 edited
-
happyfox-chat-config.php (deleted)
-
happyfox-chat-for-woocommerce-cart-info.php (added)
-
happyfox-chat-for-woocommerce-config.php (added)
-
happyfox-chat-for-woocommerce-settings.php (added)
-
happyfox-chat-for-woocommerce.php (modified) (3 diffs)
-
happyfox-chat-settings.php (deleted)
-
happyfox-chat-woocommerce.php (deleted)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
happyfox-chat-for-woocommerce/trunk/happyfox-chat-for-woocommerce.php
r1556564 r1798967 1 1 <?php 2 /* *3 *Plugin Name: HappyFox Chat for WooCommerce4 *Plugin URI: https://happyfoxchat.com5 *Description: This plugin adds the HappyFox Chat widget to your WooCommerce site6 * Version: 1.1 7 *Author: HappyFox Inc.8 *Author URI: http://happyfoxchat.com9 *License: MIT10 */2 /* 3 Plugin Name: HappyFox Chat for WooCommerce 4 Plugin URI: https://happyfoxchat.com 5 Description: This plugin adds the HappyFox Chat widget to your WooCommerce site 6 Version: 1.2 7 Author: HappyFox Inc. 8 Author URI: http://happyfoxchat.com 9 License: MIT 10 */ 11 11 12 12 add_action('init', 'hfc_setup_widget'); … … 16 16 17 17 function hfc_register_settings() { 18 register_setting('happyfox-chat- settings', 'hfc_api_key');19 register_setting('happyfox-chat- settings', 'hfc_embed_token');20 register_setting('happyfox-chat- settings', 'hfc_access_token');18 register_setting('happyfox-chat-for-woocommerce-settings', 'hfc_api_key'); 19 register_setting('happyfox-chat-for-woocommerce-settings', 'hfc_embed_token'); 20 register_setting('happyfox-chat-for-woocommerce-settings', 'hfc_access_token'); 21 21 if (is_plugin_active('woocommerce/woocommerce.php')) { 22 include('happyfox-chat- woocommerce.php');22 include('happyfox-chat-for-woocommerce-cart-info.php'); 23 23 } 24 24 } 25 25 26 26 function hfc_admin_menu() { 27 add_menu_page('HappyFox Chat Settings', 'HappyFox Chat', 'administrator', 'happyfox-chat- settings', 'happyfox_chat_settings_page', 'dashicons-format-chat');28 wp_enqueue_style('happyfox-chat- settings', WP_PLUGIN_URL . '/happyfox-chat-for-woocommerce/css/style.css');27 add_menu_page('HappyFox Chat Settings', 'HappyFox Chat', 'administrator', 'happyfox-chat-for-woocommerce-settings', 'happyfox_chat_settings_page', 'dashicons-format-chat'); 28 wp_enqueue_style('happyfox-chat-for-woocommerce-settings', WP_PLUGIN_URL . '/happyfox-chat-for-woocommerce/css/style.css'); 29 29 } 30 30 31 31 function happyfox_chat_settings_page() { 32 include('happyfox-chat- config.php');33 include('happyfox-chat- settings.php');32 include('happyfox-chat-for-woocommerce-config.php'); 33 include('happyfox-chat-for-woocommerce-settings.php'); 34 34 } 35 35 36 36 function hfc_setup_widget() { 37 include('happyfox-chat- config.php');37 include('happyfox-chat-for-woocommerce-config.php'); 38 38 if( !session_id() ) 39 39 session_start(); … … 57 57 58 58 function hfc_add_visitor_widget() { 59 include('happyfox-chat- config.php');59 include('happyfox-chat-for-woocommerce-config.php'); 60 60 $embed_token = get_option('hfc_embed_token'); 61 61 $access_token = get_option('hfc_access_token'); -
happyfox-chat-for-woocommerce/trunk/readme.txt
r1556564 r1798967 2 2 Contributors: hfsupport 3 3 Tags: banckle, Chat, chat online, chat software, click desk, clickdesk, contact plugin, contact us, customer support, happyfox, IM Chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, olark, online chat, online support, php live chat, Pipedrive, sales chat, salesforce, shopify, snapengage, support software, Website Chat, WordPress chat, wordpress live chat, wordpress live chat plugin, zendesk, Zopim, Zopim live chat, Woocommerce 4 Stable tag: 1. 14 Stable tag: 1.2 5 5 Requires at least: 3.5 6 Tested up to: 4. 4.36 Tested up to: 4.9.1 7 7 8 8 Live Chat tool for your business. Fully loaded with features like unlimited chats, fully customizable widget, app integrations & more.
Note: See TracChangeset
for help on using the changeset viewer.