array( 'label' => __( 'Import and export', 'ai-chat-for-amazon-bedrock' ) ) ); $current = isset( $_GET['tab'] ) ? sanitize_key( wp_unslash( $_GET['tab'] ) ) : 'aws'; // phpcs:ignore WordPress.Security.NonceVerification.Recommended $current = isset( $aicfab_nav[ $current ] ) ? $current : 'aws'; $aicfab_page = isset( $aicfab_tabs[ $current ] ) ? $aicfab_tabs[ $current ]['page'] : ''; $base = admin_url( 'admin.php?page=ai-chat-for-amazon-bedrock-settings' ); // A tab with sections shows one at a time, each its own form, as WooCommerce does. $aicfab_sections = isset( $aicfab_tabs[ $current ]['sections'] ) ? $aicfab_tabs[ $current ]['sections'] : array(); $aicfab_section = isset( $_GET['section'] ) ? sanitize_key( wp_unslash( $_GET['section'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended $aicfab_section = isset( $aicfab_sections[ $aicfab_section ] ) ? $aicfab_section : (string) key( $aicfab_sections ); if ( '' !== $aicfab_section ) { $aicfab_page = $aicfab_sections[ $aicfab_section ]['page']; } ?>

0 ) { echo ' '; printf( /* translators: %s: number of settings groups skipped. */ esc_html( _n( '%s group in the file was skipped, because this version does not recognize it or its value was not valid.', '%s groups in the file were skipped, because this version does not recognize them or their values were not valid.', $aicfab_skipped, 'ai-chat-for-amazon-bedrock' ) ), esc_html( number_format_i18n( $aicfab_skipped ) ) ); } ?>

1 ) : ?>
', esc_attr( $field ) ); } do_settings_sections( $aicfab_page ); submit_button(); ?>