-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpressforward.php
41 lines (36 loc) · 1.14 KB
/
pressforward.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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.7.0
* GitHub Plugin URI: https://github.com/PressForward/pressforward
* Author: Boone Gorges, Aram Zucker-Scharff, 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' );