PluginProbe
WP Dark Mode – Improve Accessibility with AI Powered Dark Theme / trunk
WP Dark Mode – Improve Accessibility with AI Powered Dark Theme vtrunk
5.3.10 5.3.9 5.3.8 5.3.7 1.3.6 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 All 148 releases
wp-dark-mode / plugin.php

plugin.php in WP Dark Mode – Improve Accessibility with AI Powered Dark Theme trunk, at plugin.php

47 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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