https://github.com/PressForward/pressforward
Raw File
Tip revision: b3521b0e3bf50a74970f1c3fa9d3d0cb76e79bb4 authored by Boone B Gorges on 11 December 2023, 17:25:24 UTC
Keywords -> Tags conversion tool for Block Nominate This.
Tip revision: b3521b0
pressforward.php
<?php
/**
 * Plugin Name: PressForward
 * Plugin URI: http://pressforward.org/
 * Description: The PressForward Plugin is a tool by the Roy Rosenzweig Center for History and New Media for aggregating and curating web-based content within the WordPress dashboard.
 * Version: 5.5.0
 * GitHub Plugin URI: https://github.com/PressForward/pressforward
 * Author: Aram Zucker-Scharff, Boone B Gorges, Jeremy Boggs
 * Author URI: http://pressforward.org/about/team/
 * License: GPL2
 * Requires PHP: 7.3
 * Text Domain: pressforward
 * Domain Path: /languages/
 *
 * @package PressForward
 */

require 'constants.php';

// Protect File.
if ( ! defined( 'WPINC' ) ) {
	die;
}

if ( ! class_exists( 'MyCLabs\Enum\Enum' ) ) {
	require 'Libraries/Enum.php';
}

if ( ! version_compare( phpversion(), '7.3', '>=' ) ) {
	wp_die( esc_html__( 'PressForward requires PHP 7.3 or greater.', 'pressforward' ) );
} else {
	require 'init.php';
}

/**
 * Loads plugin textdomain.
 */
function pressforward_load_plugin_textdomain() {
	load_plugin_textdomain( 'pressforward', false, basename( __DIR__ ) . '/languages/' );
}
add_action( 'plugins_loaded', 'pressforward_load_plugin_textdomain' );
back to top