| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Quick Adsense |
| 4 |
* Plugin URI: https://github.com/namithj/quick-adsense |
| 5 |
* Description: Quick Adsense offers a quicker & flexible way to insert Google Adsense or any Ads code into a blog post. |
| 6 |
* Author: namithjawahar |
| 7 |
* Author URI: https://smartlogix.co.in/ |
| 8 |
* Version: 2.9.4 |
| 9 |
* Requires at least: 6.3 |
| 10 |
* Requires PHP: 7.4 |
| 11 |
* License: GPL-2.0-or-later |
| 12 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 13 |
* Text Domain: quick-adsense |
| 14 |
*/ |
| 15 |
|
| 16 |
if ( ! defined( 'ABSPATH' ) ) { |
| 17 |
exit; |
| 18 |
} |
| 19 |
|
| 20 |
/** |
| 21 |
* Plugin version. |
| 22 |
* |
| 23 |
* Kept in step with the plugin header and the readme Stable tag by |
| 24 |
* bin/set-version.sh, which the release pipeline runs from the pushed tag. |
| 25 |
* Used to cache-bust the plugin's own admin assets. |
| 26 |
*/ |
| 27 |
define( 'QUICK_ADSENSE_VERSION', '2.9.4' ); |
| 28 |
|
| 29 |
require_once __DIR__ . '/includes/loader.php'; |
| 30 |
require_once __DIR__ . '/includes/countries.php'; |
| 31 |
require_once __DIR__ . '/includes/defaults.php'; |
| 32 |
require_once __DIR__ . '/includes/controls.php'; |
| 33 |
require_once __DIR__ . '/includes/settings.php'; |
| 34 |
require_once __DIR__ . '/includes/widgets.php'; |
| 35 |
require_once __DIR__ . '/includes/quicktags.php'; |
| 36 |
require_once __DIR__ . '/includes/content.php'; |
| 37 |
require_once __DIR__ . '/includes/adsense.php'; |
| 38 |
require_once __DIR__ . '/includes/class-filehandler.php'; |
| 39 |
if ( ! class_exists( 'Mobile_Detect' ) ) { |
| 40 |
require_once __DIR__ . '/includes/vendor/MobileDetect/Mobile_Detect.php'; |
| 41 |
} |
| 42 |
if ( ! class_exists( 'iriven\\GeoIPCountry' ) ) { |
| 43 |
require_once __DIR__ . '/includes/vendor/GeoIP/GeoIPCountry.php'; |
| 44 |
} |
| 45 |
|