File "head-footer-code.php"

Full Path: /home/theinspectionboy/public_html/suffolk/stats/plugins/head-footer-code/head-footer-code.php
File size: 1.44 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Head & Footer Code plugin for WordPress
 *
 * @link        https://urosevic.net/
 * @since       1.0.0
 * @package     Head_Footer_Code
 *
 * Plugin Name: Head & Footer Code
 * Plugin URI:  https://urosevic.net/wordpress/plugins/head-footer-code/
 * Description: Easy add site-wide, category or article specific custom code before the closing <strong>&lt;/head&gt;</strong> and <strong>&lt;/body&gt;</strong> or after opening <strong>&lt;body&gt;</strong> HTML tag.
 * Version:     1.3.3
 * Author:      Aleksandar Urošević
 * Author URI:  https://urosevic.net/
 * License:     GPLv3
 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
 * Text Domain: head-footer-code
 * Domain Path: /languages
 * Requires at elast: 4.9
 * Tested up to: 6.3
 * Requires PHP: 5.6
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

if ( ! function_exists( 'get_plugin_data' ) ) {
	require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
}
$plugin_data = get_plugin_data( __FILE__ );

define( 'HFC_VER', $plugin_data['Version'] );
define( 'HFC_VER_DB', '8' );
define( 'HFC_PLUGIN_FILE', plugin_basename( __FILE__ ) );
define( 'HFC_PLUGIN_NAME', $plugin_data['Name'] );
define( 'HFC_PLUGIN_SLUG', 'head-footer-code' );
define( 'HFC_FILE', __FILE__ );
define( 'HFC_DIR', dirname( __FILE__ ) );
define( 'HFC_DIR_INC', HFC_DIR . '/inc/' );
define( 'HFC_URL', plugin_dir_url( __FILE__ ) );

// Load files.
require_once 'inc/helpers.php';