I want to know if it is possible to add the admin option panel, but inside the admin menu, which is already registered by us?
add_menu_page() and add_submenu_page() functions are used, and dedicated header and footer are also placed inside the built-in menu.
Load the following admin option inside our custom menu:
CSF::createOptions( $prefix, array());CopyCopied!
Thank youPosted 8 months ago #
Yes, why not. You can do it. See documentation detailed:
CSF::createOptions( $prefix, array( 'menu_title' => 'My Framework', 'menu_slug' => 'my-framework', 'menu_type' => 'submenu', 'menu_parent' => 'themes.php', ) );CopyCopied!
Just you should be sure about your custom menu should init before run that CSF::createOptions.
Regards, CodestarPosted 8 months ago #
I apologize for not being able to convey my meaning correctly
I am attaching a picture for you
The settings panel should be inside a menu that has a custom header and footer and is already registered in WordPress.
The code you sent me adds a new menu to WordPress by itself.Posted 6 months ago #