-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·39 lines (33 loc) · 853 Bytes
/
index.php
File metadata and controls
executable file
·39 lines (33 loc) · 853 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
39
<?php
/*
Plugin Name: Fooorms!
Plugin URI: http://builderius.io/
Description: Fooorms is a REST endpoints and email templates manager. Think of it as a back-end functionality for your front-end forms.
Author: Vitalii Kiiko
Version: 1.4.1
Author URI: http://builderius.io/
Text Domain: fooorms
Domain Path: /languages
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! function_exists( 'FooormsInit' ) ) {
// Include the main class.
if ( ! class_exists( 'Fooorms' ) ) {
include_once dirname( __FILE__ ) . '/class-fooorms.php';
}
/**
* Main instance of Fooorms.
*
* Returns the main instance of Fooorms to prevent the need to use globals.
*
* @return Fooorms\Fooorms
* @since 1.0.0
*/
function FooormsInit() {
$inst = Fooorms\Fooorms::instance();
return $inst;
}
add_action( 'plugins_loaded', 'FooormsInit', 10 );
}