PATH:
home
/
nappmpmd
/
bestyment.online
/
wp-content
/
themes
/
wvc-theme
/
includes
/
cpt-manager
<?php /** * CPT Manager Module Bootstrap * * Comprehensive Custom Post Type management system including: * - Dynamic Content Hub: Central overview of all CPTs * - Custom Editor: User-friendly two-column editor for CPT posts * - List Pages: Modern list views with dynamic columns * * @package WVC_Theme * @subpackage CPT_Manager * @author 10Web * @since 1.0.0 * @version 2.0.0 */ namespace WVC\CPTEditor; // Prevent direct access if (!defined("ABSPATH")) { exit; } // CPT Editor - Custom post editor for CPT posts require_once __DIR__ . '/cpt-editor/cpt-editor-redirect.php'; require_once __DIR__ . '/cpt-editor/cpt-editor-page.php'; require_once __DIR__ . '/cpt-editor/cpt-editor-assets.php'; // CPT Hub - Dynamic Content Hub overview require_once __DIR__ . '/cpt-hub/dynamic-content-hub-menu.php'; require_once __DIR__ . '/cpt-hub/dynamic-content-hub-page.php'; require_once __DIR__ . '/cpt-hub/dynamic-content-hub-assets.php'; // CPT List - Custom list pages for viewing all posts require_once __DIR__ . '/cpt-list/cpt-list-page-menu.php'; require_once __DIR__ . '/cpt-list/cpt-list-page-render.php'; require_once __DIR__ . '/cpt-list/cpt-list-page-assets.php'; /** * Initialize CPT custom editor */ function init_cpt_editor() { // Register hidden admin pages for each CPT add_action('admin_menu', __NAMESPACE__ . '\register_cpt_editor_pages', 20); // Enqueue assets on custom editor pages add_action('admin_head', __NAMESPACE__ . '\enqueue_cpt_editor_assets'); // Redirect default editor to custom page add_action('load-post-new.php', __NAMESPACE__ . '\redirect_new_post'); add_action('load-post.php', __NAMESPACE__ . '\redirect_edit_post'); } // Initialize on WordPress init hook add_action('init', __NAMESPACE__ . '\init_cpt_editor');
[+]
cpt-list
[+]
..
[-] index.php
[edit]
[+]
cpt-editor
[+]
cpt-hub