Hi theregoesjb,
I’m currently trying to figure out the same thing. From what I can tell (well in the theme I’m customising anyway), the name of the theme options panel, as it appears in the admin panel, is called from core_functions.php. This file was sitting within the epanel folder of the theme package I downloaded. I’m sure you’ll find something similar in your package.
This is the script that I think pertains to what we both want to do:
/* Save/Reset actions | Adds theme options to WP-Admin menu */
add_action(‘admin_menu’, ‘et_add_epanel’);
function et_add_epanel() {
global $themename, $shortname, $options;
$epanel = basename(__FILE__);
if ( isset( $_GET[‘page’] ) && $_GET[‘page’] == $epanel && isset( $_POST[‘action’] ) ) {
epanel_save_data( ‘js_disabled’ ); //saves data when javascript is disabled
}
$core_page = add_theme_page( $themename . ‘ ‘ . esc_html__( ‘Options’, $themename ), $themename . ‘ ‘ . esc_html__( ‘Theme Options’, $themename ), ‘switch_themes’, basename(__FILE__), ‘et_build_epanel’ );
add_action( “admin_print_scripts-{$core_page}”, ‘et_epanel_admin_js’ );
add_action(“admin_head-{$core_page}”, ‘et_epanel_css_admin’);
}
That’s as far as I’ve got. You may have already figured out the answer, and if you have, I’d love to know!