supported_post_types(); if ( isset( $_GET['tab'] ) ) { $active_tab = $_GET['tab']; } else { $active_tab = ( isset( $post_types[0] ) ) ? $post_types[0] : ''; } ?>
get_plugin_slug() . '_' . $active_tab; settings_fields( $section ); do_settings_sections( $section ); submit_button(); ?>