| 1 |
<?php |
| 2 |
/** |
| 3 |
* The plugin bootstrap file |
| 4 |
* |
| 5 |
* This file is read by WordPress to generate the plugin information in the plugin |
| 6 |
* admin area. This file also includes all of the dependencies used by the plugin, |
| 7 |
* registers the activation and deactivation functions, and defines a function |
| 8 |
* that starts the plugin. |
| 9 |
* |
| 10 |
* @wordpress-plugin |
| 11 |
* Plugin Name: Pushly |
| 12 |
* Plugin URI: http://pushly.com |
| 13 |
* Description: Provide Pushly push notification capability to WordPress installations |
| 14 |
* Version: 1.1.2 |
| 15 |
* Author: Pushly |
| 16 |
* Author URI: http://pushly.com/ |
| 17 |
* License: GPLv2 |
| 18 |
* Text Domain: pushly |
| 19 |
*/ |
| 20 |
|
| 21 |
defined('ABSPATH') or die('This page may not be accessed directly.'); |
| 22 |
|
| 23 |
define('PUSHLY_PLUGIN_URL_ROOT', plugin_dir_url(__FILE__)); |
| 24 |
define('PUSHLY_PLUGIN_PATH_ROOT', plugin_dir_path(__FILE__)); |
| 25 |
|
| 26 |
require_once PUSHLY_PLUGIN_PATH_ROOT . 'classes/pushly-admin.php'; |
| 27 |
require_once PUSHLY_PLUGIN_PATH_ROOT . 'classes/pushly-public.php'; |
| 28 |
|
| 29 |
add_action('init', array('Pushly_Admin', 'init')); |
| 30 |
add_action('init', array('Pushly_Public', 'init')); |
| 31 |
|