-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprowpkit-forms.php
More file actions
38 lines (32 loc) · 836 Bytes
/
prowpkit-forms.php
File metadata and controls
38 lines (32 loc) · 836 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
37
38
<?php
/**
* Plugin Name: PWP Forms
* Plugin URI: https://prowpkit.com/
* Description: A developer-first, secure, and professional form builder for WordPress.
* Version: 1.1.1
* Author: ProWPKit Team
* Author URI: https://prowpkit.com/
* Text Domain: pwp-forms
* Requires PHP: 8.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Define Constants
define( 'PWP_FORMS_VERSION', '1.1.1' );
define( 'PWP_FORMS_PATH', plugin_dir_path( __FILE__ ) );
define( 'PWP_FORMS_URL', plugin_dir_url( __FILE__ ) );
// Include Main Class
require_once PWP_FORMS_PATH . 'includes/class-prowpkit-forms.php';
/**
* Main Instance of PWP Forms
*/
function pwp_forms() {
return ProWPKit_Forms::get_instance();
}
// Initialize Plugin
pwp_forms();
/**
* Activation Hook
*/
register_activation_hook( __FILE__, [ 'ProWPKit_Forms', 'activate' ] );