<?php
/*
Plugin Name: Call Now Button
Plugin URI: https://callnowbutton.com
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>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.
Version: 1.3.1
Author: NowButtons.com
Author URI: https://nowbuttons.com
GitHub Plugin URI: https://github.com/callnowbutton/wp-plugin
License: GPL2
*/

/*  Copyright 2013-2020  Jerry Rietveld  (email : jerry@nowbuttons.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/

define('CNB_VERSION', '1.3.1');
define('CNB_NAME', 'Call Now Button');
define('CNB_CLOUD_NAME', 'NowButtons for WordPress');
define('CNB_BASENAME', plugin_basename(__FILE__));
define('CNB_BASEFOLDER', plugin_basename(dirname(__FILE__)));
define('CNB_FILENAME', str_replace(CNB_BASEFOLDER . '/', '', CNB_BASENAME));
define('CNB_WEBSITE', 'https://nowbuttons.com/');
define('CNB_SUPPORT', CNB_WEBSITE . 'support/');
define('CNB_APP', 'https://app.nowbuttons.com/');
define('CNB_SLUG', sanitize_title(CNB_NAME));

register_activation_hook(__FILE__, array('cnb\admin\deactivation\Activation', 'onActivation'));
register_deactivation_hook( __FILE__, array('cnb\admin\deactivation\Deactivation', 'on_deactivation') );

require_once dirname( __FILE__ ) . '/src/call-now-button.php';
