-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.php
More file actions
38 lines (33 loc) · 922 Bytes
/
plugin.php
File metadata and controls
38 lines (33 loc) · 922 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: Yard | GravityForms Bag Address
* Plugin URI: https://www.yard.nl
* Description: Add a BAG address field to GravityForms.
* Author: Yard | Digital Agency
* Author URI: https://www.yard.nl
* Version: 1.2.3
* License: GPL3.0
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: owc-gravityforms-bag-address
* Domain Path: /languages.
*/
/*
* If this file is called directly, abort.
*/
if (!defined('WPINC')) {
die;
}
define('GF_BAG_FILE', __FILE__);
define('GF_BAG_SLUG', 'owc-gravityforms-bag-address');
define('GF_BAG_LANGUAGE_DOMAIN', GF_BAG_SLUG);
define('GF_BAG_ROOT_PATH', __DIR__);
define('GF_BAG_VERSION', '1.2.3');
/**
* Manual loaded file: the autoloader.
*/
require_once __DIR__ . '/autoloader.php';
$autoloader = new \Yard\BAG\Autoloader();
/**
* Begin execution of the plugin.
*/
$plugin = (new \Yard\BAG\Foundation\Plugin(__DIR__))->boot();