-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlexicata-form.php
47 lines (40 loc) · 1.17 KB
/
lexicata-form.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
42
43
44
45
46
47
<?php
/*
* Plugin Name: Lexicata Form
* Version: 1.0.11
* Plugin URI:
* Description: Creates a short code form to allow leads to be submitted directly into a the Admin's Lexicata account.
* Author: Lexicata
* Author URI: https://lexicata.com
* Requires at least: 4.0
* Tested up to: 4.0
*
* Text Domain: lexicata-form
* Domain Path: /lang/
*
* @package WordPress
* @author One400
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) exit;
// Load plugin class files
require_once( 'includes/class-lexicata-form.php' );
require_once( 'includes/class-lexicata-form-settings.php' );
// Load plugin libraries
require_once( 'includes/lib/class-lexicata-form-admin-api.php' );
require_once( 'includes/lib/class-lexicata-form-post-type.php' );
require_once( 'includes/lib/class-lexicata-form-taxonomy.php' );
/**
* Returns the main instance of Lexicata_Form to prevent the need to use globals.
*
* @since 1.0.0
* @return object Lexicata_Form
*/
function Lexicata_Form () {
$instance = Lexicata_Form::instance( __FILE__, '1.0.11' );
if ( is_null( $instance->settings ) ) {
$instance->settings = Lexicata_Form_Settings::instance( $instance );
}
return $instance;
}
Lexicata_Form();