-
Notifications
You must be signed in to change notification settings - Fork 1
/
gf-feed-forge.php
44 lines (39 loc) · 1.37 KB
/
gf-feed-forge.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
<?php
/**
* Plugin Name: Gravity Forms Feed Forge
* Description: Bulk process Gravity Forms feeds for existing entries with the power of Feed Forge. Works with most feed-based Gravity Forms add-ons (excluding payment add-ons).
* Plugin URI: https://gravitywiz.com/gf-feed-forge/
* Version: 1.1.1
* Author: Gravity Wiz
* Author URI: https://gravitywiz.com/
* License: GPL2
* Text Domain: gf-feed-forge
* Domain Path: /languages
*
* Fork of Gravity Forms Utility by gravityplus (https://gravityplus.pro/gravity-forms-utility)
*
* This version has been reimagined by Gravity Wiz with fixes, an overhauled UI, and support for
* processing feeds using Gravity Forms background processor.
*
* Gravity Forms Utility is originally licensed under GPL-2.0+, and this fork adheres to the same license terms.
* See LICENSE file for more details.
*/
define( 'GWIZ_GF_FEED_FORGE_VERSION', '1.1.1' );
defined( 'ABSPATH' ) || die();
add_action( 'gform_loaded', function() {
if ( ! method_exists( 'GFForms', 'include_feed_addon_framework' ) ) {
return;
}
require plugin_dir_path( __FILE__ ) . 'class-gwiz-gf-feed-forge.php';
GFAddOn::register( 'GWiz_GF_Feed_Forge' );
}, 0 ); // Load before Gravity Flow
/**
* Returns an instance of the GWiz_GF_Feed_Forge class
*
* @see 1.0.0
*
* @return GWiz_GF_Code_Chest
*/
function gwiz_gf_feed_forge() {
return GWiz_GF_Feed_Forge::get_instance();
}