| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Unlist Posts & Pages |
| 4 |
* Plugin URI: https://github.com/Nikschavan/hide-post |
| 5 |
* Description: Hide posts, pages or custom items from your site and make them accessible only with the direct link. |
| 6 |
* Author: Nikhil Chavan |
| 7 |
* Author URI: https://www.nikhilchavan.com/ |
| 8 |
* Text Domain: unlist-posts |
| 9 |
* Version: 1.2.1 |
| 10 |
* |
| 11 |
* @package Hide_Post |
| 12 |
*/ |
| 13 |
|
| 14 |
defined( 'ABSPATH' ) or exit; |
| 15 |
|
| 16 |
define( 'UNLIST_POSTS_DIR', plugin_dir_path( __FILE__ ) ); |
| 17 |
define( 'UNLIST_POSTS_URI', plugins_url( '/', __FILE__ ) ); |
| 18 |
define( 'UNLIST_POSTS_VER', '1.2.1' ); |
| 19 |
|
| 20 |
require_once UNLIST_POSTS_DIR . 'class-unlist-posts.php'; |
| 21 |
|