| 1 |
<?php |
| 2 |
// removeIf(pro) |
| 3 |
|
| 4 |
/** |
| 5 |
* The plugin bootstrap file |
| 6 |
* |
| 7 |
* @link http://hurrytimer.com |
| 8 |
* @since 1.0.0 |
| 9 |
* @package Hurrytimer |
| 10 |
* |
| 11 |
* @wordpress-plugin |
| 12 |
* Plugin Name: HurryTimer |
| 13 |
* Plugin URI: https://hurrytimer.com |
| 14 |
* Description: A Scarcity and Urgency Countdown Timer for WordPress & WooCommerce with recurring and evergreen mode. |
| 15 |
* Version: 2.5.2 |
| 16 |
* Author: Nabil Lemsieh |
| 17 |
* Author URI: https://hurrytimer.com |
| 18 |
* License: GPLv3 |
| 19 |
* License URI: http://www.gnu.org/licenses/gpl.html |
| 20 |
* Text Domain: hurrytimer |
| 21 |
* Domain Path: /languages |
| 22 |
* WC requires at least: 3.0.0 |
| 23 |
* WC tested up to: 5.1 |
| 24 |
*/ |
| 25 |
|
| 26 |
|
| 27 |
// endRemoveIf(pro) |
| 28 |
|
| 29 |
// If this file is called directly, abort. |
| 30 |
|
| 31 |
if ( !defined( 'WPINC' ) ) { |
| 32 |
die; |
| 33 |
} |
| 34 |
|
| 35 |
define( 'HURRYT_VERSION', '2.5.2' ); |
| 36 |
define( 'HURRYT_DIR', plugin_dir_path( __FILE__ ) ); |
| 37 |
define( 'HURRYT_URL', plugin_dir_url( __FILE__ ) ); |
| 38 |
define( 'HURRYT_BASENAME', plugin_basename( __FILE__ ) ); |
| 39 |
define( 'HURRYT_POST_TYPE', 'hurrytimer_countdown' ); |
| 40 |
|
| 41 |
require_once __DIR__ . '/vendor/autoload.php'; |
| 42 |
|
| 43 |
register_activation_hook( __FILE__, [ Hurrytimer\Installer::get_instance(), 'activate' ] ); |
| 44 |
|
| 45 |
add_action( 'plugins_loaded', function () { |
| 46 |
( new \Hurrytimer\Bootstrap() )->run(); |
| 47 |
do_action( 'hurrytimer_init' ); |
| 48 |
} ); |
| 49 |
|
| 50 |
|
| 51 |
|