| 1 |
<?php |
| 2 |
|
| 3 |
/* |
| 4 |
Plugin Name: Noted! |
| 5 |
Description: A simple note-taking system within the WordPress admin. Page-level and block-level notes included. |
| 6 |
Author: Kyle Van Deusen |
| 7 |
Version: 2.0.1 |
| 8 |
License: GPLv2 or later |
| 9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 10 |
Text Domain: noted |
| 11 |
Domain Path: /languages |
| 12 |
*/ |
| 13 |
|
| 14 |
declare(strict_types=1); |
| 15 |
|
| 16 |
if (! defined('ABSPATH')) { |
| 17 |
exit; |
| 18 |
} |
| 19 |
|
| 20 |
define('NOTED_PLUGIN_FILE', __FILE__); |
| 21 |
define('NOTED_PLUGIN_DIR', __DIR__); |
| 22 |
|
| 23 |
$noted_autoload = NOTED_PLUGIN_DIR . '/vendor/autoload.php'; |
| 24 |
if (file_exists($noted_autoload)) { |
| 25 |
require_once $noted_autoload; |
| 26 |
} |
| 27 |
|
| 28 |
\Noted\Plugin::instance()->init(); |
| 29 |
|