I am trying to create a link under a custom post type I have named "portfolios". If I change "add_submenu_page" to "add_options_page" it correctly shows a new link under the "Settings" menu. But it won't seem to go in the portfolios menu, what am I doing wrong here?
add_action('admin_menu', 'mt_add_pages');
function mt_add_pages() {
add_submenu_page(__('portfolios','menu-test'), __('Test Settings','menu-test'), 'manage_options', 'testsettings', 'mt_settings_page');
function mt_settings_page() {
echo "<h2>" . __( 'Test Settings', 'menu-test' ) . "</h2>";
}
}
