<?php /** * @link https://urosevic.net/ * @since 1.0.0 * @package Head_Footer_Code * * @wordpress-plugin * Plugin Name: Head & Footer Code * Plugin URI: https://urosevic.net/wordpress/plugins/head-footer-code/ * Description: Easy add site-wide and/or article specific custom code to head and/or footer sections (before the </head> or </body> or opening <body>) by hooking to <code>wp_head</code>, <code>wp_footer</code> and <code>wp_body_open</code>. * Version: 1.2.3 * Author: Aleksandar Urosevic * Author URI: https://urosevic.net/ * License: GPLv3 * License URI: https://www.gnu.org/licenses/gpl-3.0.txt * Text Domain: head-footer-code */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } define( 'WPAU_HEAD_FOOTER_CODE_VER', '1.2.3' ); define( 'WPAU_HEAD_FOOTER_CODE_DB_VER', '6' ); define( 'WPAU_HEAD_FOOTER_CODE_FILE', __FILE__ ); define( 'WPAU_HEAD_FOOTER_CODE_DIR', dirname( WPAU_HEAD_FOOTER_CODE_FILE ) . '/'); define( 'WPAU_HEAD_FOOTER_CODE_INC', WPAU_HEAD_FOOTER_CODE_DIR . 'inc/' ); // Load files. require_once 'inc/helpers.php';