Closed dan-bailey closed 3 years ago
Something like this:
require_once('RationalOptionPages.php');
$pages = array(
'sub-page-two' => array(
'parent_slug' => 'options-general.php',
'page_title' => __( 'Sub Page Two', 'sample-domain' ),
),
);
$option_page = new RationalOptionPages( $pages );
What would the sample code look like if I wanted to put my settings menu item as an item under the "Settings" main menu?