run:R W Run
DIR
2026-04-15 19:02:17
R W Run
DIR
2026-04-15 19:02:17
R W Run
DIR
2026-04-15 19:02:17
R W Run
1.41 KB
2026-04-15 19:02:17
R W Run
77.93 KB
2026-04-15 19:02:17
R W Run
32 By
2026-04-15 19:02:17
R W Run
1.13 KB
2026-04-15 19:02:17
R W Run
error_log
📄init.php
1<?php
2/**
3 * The plugin bootstrap file
4 *
5 * This file is read by WordPress to generate the plugin information in the plugin
6 * admin area. This file also includes all the dependencies used by the plugin,
7 * registers the activation and deactivation functions, and defines a function
8 * that starts the plugin.
9 *
10 * @since 1.0.0
11 * @package Wpsec
12 *
13 * @wordpress-plugin
14 * Plugin Name: WPSEC - WP 2FA Plugin
15 * Plugin URI: godaddy.com
16 * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area.
17 * Version: 1.0.12
18 * Author: GoDaddy
19 * Text Domain: wpsec-wp-2fa
20 * Domain Path: /languages
21 */
22
23// If this file is called directly, abort.
24
25if ( ! defined( 'WPINC' ) ) {
26 die;
27}
28
29require_once __DIR__ . '/vendor/autoload.php';
30
31use Wpsec\twofa\Core\TwoFactorAuthCore;
32
33/**
34 * Currently plugin version.
35 * Start at version 1.0.0 and use SemVer - https://semver.org
36 * Rename this for your plugin and update it as you release new versions.
37 */
38define("WPSEC_WP_2FA_VERSION", "1.0.12");
39
40$core = new TwoFactorAuthCore( 'wpsec-wp-2fa' );
41