forked from Automattic/newspack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewspack.php
More file actions
28 lines (24 loc) · 775 Bytes
/
newspack.php
File metadata and controls
28 lines (24 loc) · 775 Bytes
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
<?php
/**
* Plugin Name: Newspack
* Description: An advanced open-source publishing and revenue-generating platform for news organizations.
* Version: 1.0.0-alpha.21
* Author: Automattic
* Author URI: https://newspack.blog/
* License: GPL2
* Text Domain: newspack
* Domain Path: /languages/
*
* @package Newspack_Plugin
*/
defined( 'ABSPATH' ) || exit;
// Load language files.
load_plugin_textdomain( 'newspack-plugin', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
// Define NEWSPACK_PLUGIN_FILE.
if ( ! defined( 'NEWSPACK_PLUGIN_FILE' ) ) {
define( 'NEWSPACK_PLUGIN_FILE', __FILE__ );
}
// Include the main Newspack class.
if ( ! class_exists( 'Newspack' ) ) {
include_once dirname( __FILE__ ) . '/includes/class-newspack.php';
}