| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin name: Dark Mode - Improve Accessibility with AI Powered Dark Theme |
| 4 |
* Plugin URI: https://wppool.dev/wp-dark-mode |
| 5 |
* Description: WP Dark Mode automatically enables a stunning dark mode of your website based on user's operating system. Supports macOS, Windows, Android & iOS. |
| 6 |
* Version: 5.3.14 |
| 7 |
* Author: WPPOOL |
| 8 |
* Author URI: https://wppool.dev |
| 9 |
* License: GPLv2 or later |
| 10 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 |
* Text Domain: wp-dark-mode |
| 12 |
* Domain Path: /languages |
| 13 |
* |
| 14 |
* @package WP Dark Mode |
| 15 |
* @since 5.0.0 |
| 16 |
*/ |
| 17 |
|
| 18 |
// Exit if accessed directly. |
| 19 |
defined( 'ABSPATH' ) || exit( 1 ); |
| 20 |
|
| 21 |
// Bail if WP_Dark_Mode defined. |
| 22 |
if ( defined( 'WP_DARK_MODE_VERSION' ) ) { |
| 23 |
return; |
| 24 |
} |
| 25 |
|
| 26 |
// Check if WP_Dark_Mode defined. |
| 27 |
if ( ! defined( 'WP_DARK_MODE_VERSION' ) ) { |
| 28 |
define( 'WP_DARK_MODE_FILE', __FILE__ ); |
| 29 |
define( 'WP_DARK_MODE_VERSION', '5.3.14' ); |
| 30 |
|
| 31 |
/** |
| 32 |
* Loads composer's autoloader, which provides the Appsero\Client SDK. |
| 33 |
* |
| 34 |
* @since 5.3.12 |
| 35 |
*/ |
| 36 |
if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) { |
| 37 |
require_once __DIR__ . '/vendor/autoload.php'; |
| 38 |
} |
| 39 |
|
| 40 |
/** |
| 41 |
* Loads the boot file. |
| 42 |
* |
| 43 |
* @since 5.0.0 |
| 44 |
*/ |
| 45 |
require_once __DIR__ . '/includes/class-boot.php'; |
| 46 |
} |
| 47 |
|