# hurrytimer/2.1.5/hurrytimer.php

HurryTimer – An Scarcity and Urgency Countdown Timer for WordPress &amp; WooCommerce, version 2.1.5. 57 lines.

- Page: https://pluginprobe.com/plugins/hurrytimer/2.1.5/code/hurrytimer.php
- Raw: https://pluginprobe.com/plugins/hurrytimer/2.1.5/raw/hurrytimer.php
- Modified: 2019-06-29T13:38:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/hurrytimer/2.1.5/code/hurrytimer.php#L10-L20`.

```php
<?php
/**
 * The plugin bootstrap file
 *
 * @link              http://hurrytimer.com
 * @since             1.0.0
 * @package           Hurrytimer
 *
 * @wordpress-plugin
 * Plugin Name:       HurryTimer
 * Plugin URI:        https://hurrytimer.com
 * Description:       A Scarcity Countdown Timer for WordPress & WooCommerce with Evergreen mode.
 * Version:           2.1.5
 * Author:            Nabil Lemsieh
 * Author URI:        http://nabillemsieh.com
 * License:           GPLv3
 * License URI:       http://www.gnu.org/licenses/gpl.html
 * Text Domain:       hurrytimer
 * Domain Path:       /languages
 */

namespace Hurrytimer;

// If this file is called directly, abort.
if (!defined('WPINC')) {
    die;
}

define('HURRYT_VERSION', '2.1.5');
define('HURRYT_DB_VERSION', '1.0.0');
define('HURRYT_SLUG', 'hurrytimer');
define('HURRYT_DIR', plugin_dir_path(__FILE__));
define('HURRYT_URL', plugin_dir_url(__FILE__));
define('HURRYT_BASENAME', plugin_basename(__FILE__));
define('HURRYT_POST_TYPE', 'hurrytimer_countdown');
define('HURRYT_OPTION_VERSION_KEY', 'hurrytimer_version');


function activate()
{
    require_once HURRYT_DIR . 'includes/Activator.php';
    Activator::activate();
}

function deactivate()
{
    require_once HURRYT_DIR . 'includes/Deactivator.php';
    Deactivator::deactivate();
}

register_activation_hook(__FILE__, 'Hurrytimer\activate');
register_deactivation_hook(__FILE__, 'Hurrytimer\deactivate');

require plugin_dir_path(__FILE__) . 'includes/Bootstrap.php';

(new Bootstrap())->run();

```
