This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
footnotes/src/footnotes.php

63 lines
1.6 KiB
PHP
Raw Normal View History

<?php
/**
2021-04-26 08:37:19 +00:00
* The footnotes WordPress Plugin.
*
* @package footnotes
* @author Mark Cheret
* @copyright 2021 Mark Cheret (email: mark@cheret.de)
* @license GPL-3.0-only
*
* @wordpress-plugin
* Plugin Name: footnotes
* Plugin URI: https://wordpress.org/plugins/footnotes/
* Description: footnotes lets you easily add highly-customisable footnotes on your WordPress Pages and Posts.
2021-04-26 08:37:19 +00:00
* Version: 2.7.3
* Requires at least: 3.9
* Requires PHP: 7.0
* Author: Mark Cheret
* Author URI: https://cheret.org/footnotes
* Text Domain: footnotes
* Domain Path: /languages
2021-04-26 08:37:19 +00:00
* License: GPL v3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
declare(strict_types=1);
/**
2021-04-26 08:37:19 +00:00
* Defines the current Plugin version.
2021-04-15 15:52:59 +00:00
*
* @since 2.1.4
2021-04-26 08:37:19 +00:00
* @var string
*/
const C_STR_FOOTNOTES_VERSION = '2.7.3';
/**
2021-04-15 15:52:59 +00:00
* Defines the current environment ('development' or 'production').
*
2021-04-26 08:37:19 +00:00
* This primarily affects whether minified or unminified files are requested.
*
2021-04-15 15:52:59 +00:00
* @since 2.5.5
* @var bool
*/
const PRODUCTION_ENV = false;
2021-04-15 15:52:59 +00:00
/**
* Defines the Plugin entry point (relative to the `wp-content/` dir).
*
2021-04-26 08:37:19 +00:00
* @since 2.8.0
* @var string
*/
const PLUGIN_ENTRYPOINT = 'footnotes/footnotes.php';
// Get all common classes and functions.
require_once dirname( __FILE__ ) . '/includes.php';
// Add links to the Installed Plugins page on the WordPress dashboard.
add_filter( "plugin_action_links_" . PLUGIN_ENTRYPOINT, array( 'Footnotes_Hooks', 'get_plugin_links' ), 10, 2 );
// Initialize the Plugin.
2021-04-19 11:16:05 +00:00
$g_obj_mci_footnotes = new Footnotes();
// Run the Plugin.
$g_obj_mci_footnotes->run();