| 1 |
<?php |
| 2 |
/** |
| 3 |
* Head & Footer Code plugin for WordPress |
| 4 |
* |
| 5 |
* @package Head_Footer_Code |
| 6 |
* @since 1.0.0 |
| 7 |
* @author Aleksandar Urošević |
| 8 |
* @link https://urosevic.net/ |
| 9 |
* @link https://www.techwebux.com/ |
| 10 |
* |
| 11 |
* Plugin Name: Head & Footer Code |
| 12 |
* Plugin URI: https://urosevic.net/wordpress/plugins/head-footer-code/ |
| 13 |
* Description: Easy add site-wide, category or article specific custom code before the closing <strong></head></strong> and <strong></body></strong> or after opening <strong><body></strong> HTML tag. |
| 14 |
* Version: 1.5.5 |
| 15 |
* Author: Aleksandar Urošević |
| 16 |
* Author URI: https://urosevic.net/ |
| 17 |
* License: GPLv3 |
| 18 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt |
| 19 |
* Text Domain: head-footer-code |
| 20 |
* Requires at least: 5.2 |
| 21 |
* Tested up to: 7.0 |
| 22 |
* Requires PHP: 5.6 |
| 23 |
*/ |
| 24 |
|
| 25 |
// If this file is called directly, abort. |
| 26 |
if ( ! defined( 'ABSPATH' ) ) { |
| 27 |
exit; |
| 28 |
} |
| 29 |
|
| 30 |
define( 'HFC__MIN_PHP', '5.6' ); |
| 31 |
define( 'HFC__MIN_WP', '5.2' ); |
| 32 |
|
| 33 |
define( 'HFC_VER', '1.5.5' ); |
| 34 |
define( 'HFC_VER_DB', '11' ); |
| 35 |
define( 'HFC_FILE', __FILE__ ); |
| 36 |
|
| 37 |
register_activation_hook( HFC_FILE, array( '\Techwebux\Hfc\Main', 'plugin_activation' ) ); |
| 38 |
|
| 39 |
require_once __DIR__ . '/classes/autoload.php'; |
| 40 |
new \Techwebux\Hfc\Main(); |
| 41 |
|