-
Notifications
You must be signed in to change notification settings - Fork 9
/
archived-post-status.php
47 lines (44 loc) · 1.47 KB
/
archived-post-status.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
42
43
44
45
46
47
<?php
/**
* The plugin bootstrap file.
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link https://github.com/joshuadavidnelson/archived-post-status
* @since 0.3.9
* @package ArchivedPostStatus
*
* @wordpress-plugin
* Plugin Name: Archived Post Status
* Description: Allows posts and pages to be archived so you can unpublish content without having to trash it.
* Version: 0.3.11
* Author: Joshua David Nelson
* Author URI: https://joshuadnelson.com
* Text Domain: archived-post-status
* Domain Path: /languages
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
/**
* Exit if accessed directly, prevent direct access to this file.
*
* @since 0.3.9
*/
if ( ! defined( 'ABSPATH' ) ) {
die;
}
/**
* Define plugin constants.
*/
define( 'ARCHIVED_POST_STATUS_VERSION', '0.3.11' );
define( 'ARCHIVED_POST_STATUS_PLUGIN', plugin_basename( __FILE__ ) );
define( 'ARCHIVED_POST_STATUS_DIR', __DIR__ );
define( 'ARCHIVED_POST_STATUS_URL', plugins_url( '/', __FILE__ ) );
define( 'ARCHIVED_POST_STATUS_LANG_PATH', dirname( ARCHIVED_POST_STATUS_PLUGIN ) . '/languages' );
/**
* The core plugin class that is used to define everything.
*/
require ARCHIVED_POST_STATUS_DIR . '/src/archived-post-status.php';