| 1 |
<?php |
| 2 |
/* |
| 3 |
Plugin Name: Call Now Button |
| 4 |
Plugin URI: https://callnowbutton.com |
| 5 |
Description: Shows a <strong>Call Now Button</strong> to your mobile visitors. Easy to use but flexible to meet more demanding requirements. Change placement and color, hide on specific pages, track how many people click them or conversions of your Google Ads campaigns. Create an account to enable extra actions such as <strong>WhatsApp</strong>, <strong>Messenger</strong>, <strong>Telegram</strong>, <strong>Signal</strong>, <strong>Viber</strong>, <strong>Line</strong>, <strong>WeChat</strong>, <strong>Zalo</strong>, <strong>Email</strong>, <strong>SMS</strong>, <strong>Maps</strong> and <strong>links</strong>. Also offers additional functionality such as advanced display rules, scheduling, geo rules, appear after scrolling, button animations and much more. |
| 6 |
Version: 2.0.3 |
| 7 |
Author: NowButtons.com |
| 8 |
Author URI: https://nowbuttons.com |
| 9 |
GitHub Plugin URI: https://github.com/callnowbutton/wp-plugin |
| 10 |
License: GPL2 |
| 11 |
*/ |
| 12 |
|
| 13 |
/* Copyright 2013-2020 Jerry Rietveld (email : jerry@nowbuttons.com) |
| 14 |
|
| 15 |
This program is free software; you can redistribute it and/or modify |
| 16 |
it under the terms of the GNU General Public License, version 2, as |
| 17 |
published by the Free Software Foundation. |
| 18 |
|
| 19 |
This program is distributed in the hope that it will be useful, |
| 20 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 |
GNU General Public License for more details. |
| 23 |
|
| 24 |
You should have received a copy of the GNU General Public License |
| 25 |
along with this program; if not, write to the Free Software |
| 26 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 27 |
*/ |
| 28 |
|
| 29 |
define('CNB_VERSION', '2.0.3'); |
| 30 |
define('CNB_NAME', 'Call Now Button'); |
| 31 |
define('CNB_CLOUD_NAME', 'NowButtons for WordPress'); |
| 32 |
define('CNB_BASENAME', plugin_basename(__FILE__)); |
| 33 |
define('CNB_PLUGINS_URL_BASE', __FILE__); |
| 34 |
define('CNB_WEBSITE', 'https://nowbuttons.com/'); |
| 35 |
define('CNB_SUPPORT', CNB_WEBSITE . 'support/'); |
| 36 |
define('CNB_SUPPORT_LEGACY', 'https://callnowbutton.com/support/'); |
| 37 |
define('CNB_APP', 'https://app.nowbuttons.com/'); |
| 38 |
define('CNB_SLUG', sanitize_title(CNB_NAME)); |
| 39 |
|
| 40 |
register_activation_hook(__FILE__, array('cnb\admin\deactivation\Activation', 'onActivation')); |
| 41 |
register_deactivation_hook( __FILE__, array('cnb\admin\deactivation\Deactivation', 'on_deactivation') ); |
| 42 |
|
| 43 |
require_once dirname( __FILE__ ) . '/src/call-now-button.php'; |
| 44 |
|