| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); | |
| 3 | +declare( strict_types = 1 ); | |
| 4 | 4 | |
| 5 | 5 | // phpcs:disable |
| 6 | 6 | /** |
| 7 | 7 | * |
| @@ -9,36 +9,30 @@ | ||
| 9 | 9 | * @since 3.0.0 |
| 10 | 10 | * @package Beyondwords\Wordpress |
| 11 | 11 | * |
| 12 | 12 | * @wordpress-plugin |
| 13 | - * Plugin Name: BeyondWords - Text-to-Speech | |
| 13 | + * Plugin Name: BeyondWords - AI audio for publishers | |
| 14 | 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. | |
| 15 | + * Description: Turn WordPress articles into audio as you publish, with tools for distribution, monetization, and analytics. | |
| 16 | 16 | * Author: BeyondWords |
| 17 | 17 | * Author URI: https://beyondwords.io |
| 18 | - * Version: 4.2.2 | |
| 18 | + * Version: 7.2.0 | |
| 19 | 19 | * License: GPL-2.0+ |
| 20 | 20 | * License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 21 | 21 | * Text Domain: speechkit |
| 22 | 22 | * Domain Path: /languages |
| 23 | - * Requires PHP: 7.4 | |
| 24 | - * Requires at least: 5.8 | |
| 23 | + * Requires PHP: 8.0 | |
| 24 | + * Requires at least: 6.6 | |
| 25 | 25 | */ |
| 26 | 26 | // phpcs:enable |
| 27 | 27 | |
| 28 | -// If this file is called directly, abort. | |
| 29 | -if (! defined('WPINC')) { | |
| 30 | - die; | |
| 31 | -} | |
| 28 | +defined( 'ABSPATH' ) || exit; | |
| 32 | 29 | |
| 33 | -// Composer autoload | |
| 34 | -require_once plugin_dir_path(__FILE__) . 'vendor/autoload.php'; | |
| 30 | +require_once plugin_dir_path( __FILE__ ) . 'vendor/autoload.php'; | |
| 35 | 31 | |
| 36 | -// Define constants | |
| 37 | 32 | // phpcs:disable |
| 38 | -define('BEYONDWORDS__PLUGIN_VERSION', '4.2.2'); | |
| 33 | +define('BEYONDWORDS__PLUGIN_VERSION', '7.2.0'); | |
| 39 | 34 | define('BEYONDWORDS__PLUGIN_DIR', plugin_dir_path(__FILE__)); |
| 40 | 35 | define('BEYONDWORDS__PLUGIN_URI', plugin_dir_url(__FILE__)); |
| 41 | 36 | // phpcs:enable |
| 42 | 37 | |
| 43 | -// Follow WordPress convention by using snakecase for variable name | |
| 44 | -$beyondwords_wordpress_plugin = new Beyondwords\Wordpress\Plugin(); | |
| 38 | +BeyondWords\Core\Plugin::init(); | |