forked from WebDevStudios/wds-headless-gravityforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wds-headless-gravityforms.php
32 lines (27 loc) · 1.01 KB
/
wds-headless-gravityforms.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
<?php
/**
* Plugin Name: WDS Headless (Gravity Forms)
* Plugin URI: https://github.com/WebDevStudios/nextjs-wordpress-starter
* Description: WDS Headless extension handling Gravity Forms functionality.
* Author: WebDevStudios <[email protected]>
* Author URI: https://webdevstudios.com
* Version: 1.0.0
* Requires at least: 5.6
* Requires PHP: 7.4
* License: GPL-2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*
* @package WDS_Headless_GravityForms
*/
namespace WDS_Headless_GravityForms;
if ( ! defined( 'ABSPATH' ) ) {
return;
}
// Define constants.
define( 'WDS_HEADLESS_GRAVITYFORMS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'WDS_HEADLESS_GRAVITYFORMS_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'WDS_HEADLESS_GRAVITYFORMS_VERSION', '1.0.0' );
// Register de/activation hooks.
register_activation_hook( __FILE__, __NAMESPACE__ . '\activation_callback' );
register_deactivation_hook( __FILE__, __NAMESPACE__ . '\deactivation_callback' );
require_once 'inc/wp-graphql.php';