PluginProbe ʕ •ᴥ•ʔ
WP 2FA – Two-factor authentication for WordPress / 4.0.0
WP 2FA – Two-factor authentication for WordPress v4.0.0
4.0.0 1.7.1 2.0.0 2.0.1 2.1.0 2.2.0 2.2.1 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.8.0 2.9.0 2.9.1 2.9.2 2.9.3 3.0.0 3.0.1 3.1.0 3.1.1 3.1.1.2 trunk 1.2.0 1.3.0 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.6.0 1.6.1 1.6.2 1.7.0
wp-2fa / templates / wizard / required-intro.php
wp-2fa / templates / wizard Last commit date
backup-codes-display.php 5 days ago backup-codes-generate.php 5 days ago backup-method-footer.php 5 days ago backup-method-selection.php 5 days ago completion.php 5 days ago confirm-close.php 5 days ago email-setup.php 5 days ago email-verify.php 5 days ago index.php 5 days ago method-selection.php 5 days ago modal.php 5 days ago required-intro.php 5 days ago totp-setup.php 5 days ago totp-verify.php 5 days ago welcome.php 5 days ago
required-intro.php
29 lines
1 <?php
2 /**
3 * WP 2FA Wizard Template: Required Intro Screen
4 *
5 * Template ID: wp2fa-wizard-required-intro
6 *
7 * Displayed as the very first wizard step (before the welcome step)
8 * when the user is enforced to set up 2FA and the required intro
9 * content is configured and not empty, and the user has not yet
10 * seen/dismissed this intro.
11 *
12 * Data expected:
13 * - contentHtml {string} The required intro HTML content.
14 * - continueLabel {string} "Continue" button text.
15 *
16 * @package wp2fa
17 * @since 4.0.0
18 */
19
20 defined( 'ABSPATH' ) || exit;
21 ?>
22 <script type="text/html" id="tmpl-wp2fa-wizard-required-intro">
23 <div class="wp2fa-wizard-required-intro-content">{{{ data.contentHtml }}}</div>
24 </script>
25
26 <script type="text/html" id="tmpl-wp2fa-wizard-required-intro-footer">
27 <button class="wp2fa-wizard-btn wp2fa-wizard-btn-primary wp-2fa-button-primary" id="wp2fa-wizard-btn-required-intro-continue" type="button">{{ data.continueLabel }}</button>
28 </script>
29