-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenforms.php
41 lines (36 loc) · 1.01 KB
/
openforms.php
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
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* Plugin Name: Open Forms
* Plugin URI: https://github.com/open-formulieren/open-forms-plugin-wordpress
* Description: Easily integrate Open Forms in your Wordpress website.
* Requires at least: 6.1
* Requires PHP: 7.0
* Version: 0.1.1
* Author: Maykin
* License: GPLv2 or later
* License URI: https://github.com/open-formulieren/open-forms-plugin-wordpress/LICENSE
* Text Domain: openforms
*
* @package OpenForms
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/**
* Include OpenForms_Utils class.
*/
require_once plugin_dir_path( __FILE__ ) . 'includes/openforms-utils.class.php';
/**
* The core plugin class that is used to define internationalization
* and admin-specific hooks.
*/
require plugin_dir_path( __FILE__ ) . 'includes/openforms.class.php';
/**
* Begins execution of the plugin.
*/
function openforms_run() {
$plugin = new OpenForms();
$plugin->run();
}
openforms_run();