PluginProbe ʕ •ᴥ•ʔ
Custom Post Type Rewrite / trunk
Custom Post Type Rewrite vtrunk
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 1.2.2
custom-post-type-rewrite / custom-post-type-rewrite.php
custom-post-type-rewrite Last commit date
inc 1 month ago LICENSE 7 years ago custom-post-type-rewrite.php 1 month ago readme.txt 1 month ago
custom-post-type-rewrite.php
28 lines
1 <?php
2 /**
3 * Plugin Name: Custom Post Type Rewrite
4 * Plugin URI: https://github.com/thingsym/custom-post-type-rewrite
5 * Description: This WordPress plugin adds default custom post type permalinks.
6 * Version: 1.2.2
7 * Author: thingsym
8 * Author URI: http://www.thingslabo.com/
9 * License: GPLv2 or later
10 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11 * Text Domain: custom-post-type-rewrite
12 * Domain Path: /languages
13 *
14 * @package Custom_Post_Type_Rewrite
15 */
16
17 if ( ! defined( 'ABSPATH' ) ) {
18 exit;
19 }
20
21 define( '__CUSTOM_POST_TYPE_REWRITE__', __FILE__ );
22
23 require_once plugin_dir_path( __FILE__ ) . 'inc/class-custom-post-type-rewrite.php';
24
25 if ( class_exists( 'Custom_Post_Type_Rewrite' ) ) {
26 new Custom_Post_Type_Rewrite();
27 }
28