PluginProbe
Secure Passkeys / 1.1.0
Secure Passkeys v1.1.0
1.3.0 trunk 1.0.0 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5
secure-passkeys / secure-passkeys.php

secure-passkeys.php in Secure Passkeys 1.1.0, at secure-passkeys.php

46 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Secure Passkeys
5 * Plugin URI: https://endisha.ly/
6 * Description: Secure Passkeys is a powerful WordPress plugin that enables passwordless authentication using WebAuthn technology.
7 * Author: Mohamed Endisha
8 * Author URI: https://endisha.ly
9 * Version: 1.1.0
10 * Text Domain: secure-passkeys
11 * Domain Path: /src/languages/
12 * Requires at least: 6.0
13 * Requires PHP: 7.4
14 * License: GPL v2 or later
15 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
16 */
17
18 defined('ABSPATH') || exit;
19
20 define('SECURE_PASSKEYS_VERSION', '1.1.0');
21 define('SECURE_PASSKEYS_PLUGIN_FILE', __FILE__);
22 define('SECURE_PASSKEYS_PLUGIN_DIR', __DIR__);
23 define('SECURE_PASSKEYS_AUTOLOADER', __DIR__ . '/src/core/secure-passkeys-autoloader.php');
24 define('SECURE_PASSKEYS_BOOTSTRAP_FILE', __DIR__ . '/bootstrap.php');
25 define('SECURE_PASSKEYS_LANGUAGES_DIR', basename(__DIR__) . '/src/languages/');
26 define('SECURE_PASSKEYS_PLUGIN_BASENAME', basename(__FILE__, '.php'));
27 define('SECURE_PASSKEYS_PLUGIN_FILE_BASENAME', basename(__DIR__) . '/' . basename(__FILE__));
28 define('SECURE_PASSKEYS_VIEWS_ADMIN_VUE_DIR', __DIR__ . '/src/views/admin/vue');
29 define('SECURE_PASSKEYS_INCLUDES_DIR', __DIR__ . '/src/includes');
30 define('SECURE_PASSKEYS_JOBS_DIR', __DIR__ . '/src/jobs');
31 define('SECURE_PASSKEYS_AJAX_DIR', __DIR__ . '/src/ajax');
32 define('SECURE_PASSKEYS_HOOKS_DIR', __DIR__ . '/src/hooks');
33 define('SECURE_PASSKEYS_VIEWS_DIR', __DIR__ . '/src/views');
34 define('SECURE_PASSKEYS_VIEWS_ADMIN_DIR', __DIR__ . '/src/views/admin');
35 define('SECURE_PASSKEYS_VIEWS_FRONTEND_DIR', __DIR__ . '/src/views/frontend');
36 define('SECURE_PASSKEYS_ASSETS_FRONTEND_URL', plugin_dir_url(__FILE__) . 'assets/frontend');
37 define('SECURE_PASSKEYS_ASSETS_ADMIN_URL', plugin_dir_url(__FILE__) . 'assets/admin');
38 define('SECURE_PASSKEYS_CSS_ASSETS_FRONTEND_URL', SECURE_PASSKEYS_ASSETS_FRONTEND_URL . '/css');
39 define('SECURE_PASSKEYS_JS_ASSETS_FRONTEND_URL', SECURE_PASSKEYS_ASSETS_FRONTEND_URL . '/js');
40 define('SECURE_PASSKEYS_CSS_ASSETS_ADMIN_URL', SECURE_PASSKEYS_ASSETS_ADMIN_URL . '/css');
41 define('SECURE_PASSKEYS_JS_ASSETS_ADMIN_URL', SECURE_PASSKEYS_ASSETS_ADMIN_URL . '/js');
42 define('SECURE_PASSKEYS_IMG_ASSETS_ADMIN_URL', SECURE_PASSKEYS_ASSETS_ADMIN_URL . '/img');
43 define('SECURE_PASSKEYS_NONCE', 'secure-passkeys-nonce');
44
45 require SECURE_PASSKEYS_BOOTSTRAP_FILE;
46