Initial commit, dashboard settings page seems to work fine.
This commit is contained in:
23
constants/rewrites.php
Normal file
23
constants/rewrites.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
| ----------------------------------------------------------------
|
||||
| URL Rewrite Definitions
|
||||
| ----------------------------------------------------------------
|
||||
|
|
||||
| These are rewrite definitions that are language dependent.
|
||||
| If new languages are added in WordPress, then you will
|
||||
| have to add them here as well. These will be saved
|
||||
| to the options table and reference a post ID.
|
||||
|
|
||||
*/
|
||||
|
||||
const NMSP_PLUGIN_SLUG_REWRITE_NAMES = array(
|
||||
'NMSP_PLUGIN_SLUG_PAGE_NAME' => 'nmsp_plugin_slug_page_name',
|
||||
);
|
||||
|
||||
foreach ( NMSP_PLUGIN_SLUG_REWRITE_NAMES as $page_slug => $page_name ) {
|
||||
if ( ! defined( $page_slug ) ) {
|
||||
define( $page_slug, $page_name );
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user