' . esc_html__( 'Settings saved.', 'two-factor' ) . '
'; } // Build provider list for display using public core API. $provider_instances = array(); if ( class_exists( 'Two_Factor_Core' ) && method_exists( 'Two_Factor_Core', 'get_providers' ) ) { $provider_instances = Two_Factor_Core::get_providers(); if ( ! is_array( $provider_instances ) ) { $provider_instances = array(); } } // Default to all providers enabled when the option has never been saved. $all_provider_keys = array_keys( $provider_instances ); $saved_enabled = get_option( 'two_factor_enabled_providers', $all_provider_keys ); echo '' . esc_html__( 'Choose which Two-Factor providers are available on this site. All providers are enabled by default.', 'two-factor' ) . '
'; echo ''; echo '