-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshokka-forms.php
More file actions
36 lines (32 loc) · 824 Bytes
/
Copy pathshokka-forms.php
File metadata and controls
36 lines (32 loc) · 824 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
30
31
32
33
34
35
36
<?php
/**
* Plugin Name: Shokka Forms
* Plugin URI: http://spoygg.com/shokka-forms
* Description: Create forms with the block editor, no extra learning required.
* Text Domain: shokka-forms
* Domain Path. /languages
* Author: ivanic
* Version: 0.0.1
* Author URI: http://spoygg.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
require __DIR__ . '/vendor/autoload.php';
register_activation_hook(
__FILE__,
function() {
$activation = new \ShokkaForms\Activation();
$activation->activate();
}
);
register_deactivation_hook(
__FILE__,
function() {
$deactivation = new \ShokkaForms\Deactivation();
$deactivation->deactivate();
}
);
( function() {
$shokka_forms = new \ShokkaForms\App();
$shokka_forms->init();
} )();