| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
// phpcs:disable |
| 6 |
/** |
| 7 |
* |
| 8 |
* @link https://beyondwords.io |
| 9 |
* @since 3.0.0 |
| 10 |
* @package Beyondwords\Wordpress |
| 11 |
* |
| 12 |
* @wordpress-plugin |
| 13 |
* Plugin Name: BeyondWords - Text-to-Speech |
| 14 |
* Plugin URI: https://beyondwords.io |
| 15 |
* Description: The effortless way to make content listenable. Automatically create audio versions and embed via our customizable player. |
| 16 |
* Author: BeyondWords |
| 17 |
* Author URI: https://beyondwords.io |
| 18 |
* Version: 4.7.0 |
| 19 |
* License: GPL-2.0+ |
| 20 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 21 |
* Text Domain: speechkit |
| 22 |
* Domain Path: /languages |
| 23 |
* Requires PHP: 7.4 |
| 24 |
* Requires at least: 5.8 |
| 25 |
*/ |
| 26 |
// phpcs:enable |
| 27 |
|
| 28 |
// If this file is called directly, abort. |
| 29 |
if (! defined('WPINC')) { |
| 30 |
die; |
| 31 |
} |
| 32 |
|
| 33 |
// Composer autoload |
| 34 |
require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php'; |
| 35 |
|
| 36 |
// Define constants |
| 37 |
// phpcs:disable |
| 38 |
define('BEYONDWORDS__PLUGIN_VERSION', '4.7.0'); |
| 39 |
define('BEYONDWORDS__PLUGIN_DIR', plugin_dir_path(__FILE__)); |
| 40 |
define('BEYONDWORDS__PLUGIN_URI', plugin_dir_url(__FILE__)); |
| 41 |
// phpcs:enable |
| 42 |
|
| 43 |
// Follow WordPress convention by using snakecase for variable name |
| 44 |
$beyondwords_wordpress_plugin = new Beyondwords\Wordpress\Plugin(); |
| 45 |
$beyondwords_wordpress_plugin->init(); |
| 46 |
|