WhatsHelp Chat Button - Version 1.8.1

Version Description

Download this release

Release Info

Developer whatshelp
Plugin Icon 128x128 WhatsHelp Chat Button
Version 1.8.1
Comparing to
See all releases

Code changes from version 1.8.0 to 1.8.1

Files changed (3) hide show
  1. img/getbutton_logo.png +0 -0
  2. readme.txt +2 -2
  3. whatshelp.php +8 -8
img/getbutton_logo.png ADDED
Binary file
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: GetButton
3
  Donate link: https://getbutton.io/
4
  Tags: whatsapp, facebook messenger, viber, whatshelp, getbutton, messaging, chating, zopim live chat, customer service, livechat, olark, online support, zendesk, facebook chat, facebook help desk, whatsapp helpdesk, facebook live chat for business, whatsapp crm integration, whatsapp support, zotabox, beeketing
5
  Requires at least: 2.7
6
- Tested up to: 5.4.0
7
- Stable tag: 1.8.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Donate link: https://getbutton.io/
4
  Tags: whatsapp, facebook messenger, viber, whatshelp, getbutton, messaging, chating, zopim live chat, customer service, livechat, olark, online support, zendesk, facebook chat, facebook help desk, whatsapp helpdesk, facebook live chat for business, whatsapp crm integration, whatsapp support, zotabox, beeketing
5
  Requires at least: 2.7
6
+ Tested up to: 5.4.1
7
+ Stable tag: 1.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
whatshelp.php CHANGED
@@ -2,15 +2,15 @@
2
  /**
3
  * Plugin Name: Chat Button by GetButton.io (ex. WhatsHelp)
4
  * Description: The Chat button by GetButton takes website visitor directly to the messaging app such as Facebook Messenger or WhatsApp and allows them to initiate a conversation with you. After that, both you and your customer can follow up the conversation anytime and anywhere!
5
- * Version: 1.4.0
6
- * Author: Whatshelp
7
- * Author URI: https://whatshelp.io
8
  */
9
 
10
  function whatshelp_setup()
11
  {
12
  //add_submenu_page('options-general.php', __('Whatshelp Chat Button', 'whatshelp'), __('Whatshelp Chat Button', 'whatshelp'), 'manage_options', 'options-whatshelp', 'whatshelp_settings');
13
- add_menu_page(__('WhatsHelp', 'whatshelp'), __('WhatsHelp', 'whatshelp'), 8, basename(__FILE__), 'whatshelp_settings', plugin_dir_url(__FILE__) . 'img/wh-icon.ico');
14
  register_setting('whatshelp', 'whatshelp-code');
15
  }
16
 
@@ -30,14 +30,14 @@ EOTEXT;
30
  <p style="font-size: 14px;">
31
  Check your <a href="/" target="_blank">website</a> to see if the Chat Button is present.
32
  <br>
33
- You can always get a new code at <a href="{$safeSiteURL}" target="_blank">www.whatshelp.io/widget</a> and paste it in the form below.
34
  </p>
35
  EOTEXT;
36
  } else {
37
  echo <<<EOTEXT
38
  <h3>Step 1: Get button code</h3>
39
  <p style="font-size: 14px;">
40
- To install Chat Button, please go to <strong><a href="{$safeSiteURL}" target="_blank">www.whatshelp.io/widget</a></strong> and get the button code.
41
  </p>
42
  <h3>Step 2: Paste the code</h3>
43
  <p style="font-size: 14px;">Copy and paste button code into the form below:</p>
@@ -54,12 +54,12 @@ EOTEXT;
54
 
55
  function get_whatshelp_url()
56
  {
57
- return 'https://whatshelp.io/widget/?utm_campaign=wordpress_plugin&utm_medium=widget&utm_source=wordpress';
58
  }
59
 
60
  function get_whatshelp_logo_url()
61
  {
62
- return plugin_dir_url(__FILE__) . 'img/whatshelp_logo.png';
63
  }
64
 
65
  function add_whatshelp_code()
2
  /**
3
  * Plugin Name: Chat Button by GetButton.io (ex. WhatsHelp)
4
  * Description: The Chat button by GetButton takes website visitor directly to the messaging app such as Facebook Messenger or WhatsApp and allows them to initiate a conversation with you. After that, both you and your customer can follow up the conversation anytime and anywhere!
5
+ * Version: 1.8.1
6
+ * Author: GetButton
7
+ * Author URI: https://getbutton.io
8
  */
9
 
10
  function whatshelp_setup()
11
  {
12
  //add_submenu_page('options-general.php', __('Whatshelp Chat Button', 'whatshelp'), __('Whatshelp Chat Button', 'whatshelp'), 'manage_options', 'options-whatshelp', 'whatshelp_settings');
13
+ add_menu_page(__('GetButton', 'getbutton'), __('GetButton', 'getbutton'), 8, basename(__FILE__), 'whatshelp_settings', plugin_dir_url(__FILE__) . 'img/wh-icon.ico');
14
  register_setting('whatshelp', 'whatshelp-code');
15
  }
16
 
30
  <p style="font-size: 14px;">
31
  Check your <a href="/" target="_blank">website</a> to see if the Chat Button is present.
32
  <br>
33
+ You can always get a new code at <a href="{$safeSiteURL}" target="_blank">getbutton.io</a> and paste it in the form below.
34
  </p>
35
  EOTEXT;
36
  } else {
37
  echo <<<EOTEXT
38
  <h3>Step 1: Get button code</h3>
39
  <p style="font-size: 14px;">
40
+ To install Chat Button, please go to <strong><a href="{$safeSiteURL}" target="_blank">getbutton.io</a></strong> and get the button code.
41
  </p>
42
  <h3>Step 2: Paste the code</h3>
43
  <p style="font-size: 14px;">Copy and paste button code into the form below:</p>
54
 
55
  function get_whatshelp_url()
56
  {
57
+ return 'https://getbutton.io/?utm_campaign=wordpress_plugin&utm_medium=widget&utm_source=wordpress';
58
  }
59
 
60
  function get_whatshelp_logo_url()
61
  {
62
+ return plugin_dir_url(__FILE__) . 'img/getbutton_logo.png';
63
  }
64
 
65
  function add_whatshelp_code()