# hurrytimer/1.1.0/hurrytimer.php

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

- Page: https://pluginprobe.com/plugins/hurrytimer/1.1.0/code/hurrytimer.php
- Raw: https://pluginprobe.com/plugins/hurrytimer/1.1.0/raw/hurrytimer.php
- Modified: 2018-12-28T12:26:08+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/1.1.0/code/hurrytimer.php#L10-L20`.

```php
<?php
/**
 * The plugin bootstrap file
 *
 * @link              http://nabillemsieh.com
 * @since             1.0.0
 * @package           Hurrytimer
 *
 * @wordpress-plugin
 * Plugin Name:       HurryTimer - A Scarcity Countdown Timer for WordPress & WooCoomerce
 * Plugin URI:        https://wordpress.org/plugins/hurrytimer
 * Description:       A simple yet powerful scarcity countdown timer for WordPress & WooCommerce.
 * Version:           1.1.0
 * 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('HURRYTIMER_PLUGIN_VERSION', '1.1.0');
define('HURRYTIMER_PLUGIN_NAME', 'hurrytimer');
define('HURRYTIMER_PLUGIN_DIR', plugin_dir_path(__FILE__));
define('HURRYTIMER_PLUGIN_URL', plugin_dir_url(__FILE__));
define('HURRYTIMER_COUNTDOWN_PT', 'hurrytimer_countdown');

function activate_hurrytimer()
{
    require_once plugin_dir_path(__FILE__) . 'includes/class-hurrytimer-activator.php';
    Hurrytimer_Activator::activate();
}

function deactivate_hurrytimer()
{
    require_once plugin_dir_path(__FILE__) . 'includes/class-hurrytimer-deactivator.php';
    Hurrytimer_Deactivator::deactivate();
}

register_activation_hook(__FILE__, 'Hurrytimer\activate_hurrytimer');
register_deactivation_hook(__FILE__, 'Hurrytimer\deactivate_hurrytimer');

/**
 * The core plugin class that is used to define internationalization,
 * admin-specific hooks, and public-facing site hooks.
 */
require plugin_dir_path(__FILE__) . 'includes/class-hurrytimer.php';

/**
 * Begins execution of the plugin.
 *
 * Since everything within the plugin is registered via hooks,
 * then kicking off the plugin from this point in the file does
 * not affect the page life cycle.
 *
 * @since    1.0.0
 */
function run_hurrytimer()
{
    $plugin = new Hurrytimer();
    $plugin->run();
}

run_hurrytimer();

```
