-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmega-forms-local-captcha.php
More file actions
29 lines (25 loc) · 947 Bytes
/
mega-forms-local-captcha.php
File metadata and controls
29 lines (25 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* Plugin Name: Mega Forms - Local Captcha
* Plugin URI: https://qbus.de
* Text Domain: mega-forms-local-captcha
* Domain Path: /languages
* Description: Integrates a local captcha by MobiCMS into Mega Forms.
* Version: 2.2
* Requires at least: 6.0
* Author: Qbus Internetagentur GmbH
* Author URI: https://qbus.de
*
* @package wp-zfinder
**/
// phpcs:disable
defined(constant_name: 'ABSPATH') or die();
// Initialize Composer autoloader.
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
define( constant_name: 'MF_LOCAL_CAPTCHA_PLUGIN_DIR', value: plugin_dir_path( __FILE__ ) );
define( constant_name: 'MF_LOCAL_CAPTCHA_PLUGIN_URI', value: plugin_dir_url( __FILE__ ) );
define( constant_name: 'MF_LOCAL_CAPTCHA_MAIN_FILE', value: plugin_basename(file:__FILE__) );
// Initialize plugin.
use MfLocalCaptcha\Main;
$main = new Main();
$main->initialize();