Version Description
- Added ufb_form_response filter to filter form submission response
Download this release
Release Info
Developer | Access Keys |
Plugin | Contact Form for WordPress – Ultimate Form Builder Lite |
Version | 1.2.8 |
Comparing to | |
See all releases |
Code changes from version 1.2.7 to 1.2.8
- classes/ufbl-lib.php +13 -1
- readme.txt +4 -1
- ultimate-form-builder-lite.php +2 -2
classes/ufbl-lib.php
CHANGED
@@ -323,7 +323,19 @@ if ( !class_exists( 'UFBL_Lib' ) ) {
|
|
323 |
self::do_email_process( $email_reference_array, $form_row );
|
324 |
UFBL_Model::save_to_db( $form_data );
|
325 |
}
|
326 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
die();
|
328 |
}
|
329 |
|
323 |
self::do_email_process( $email_reference_array, $form_row );
|
324 |
UFBL_Model::save_to_db( $form_data );
|
325 |
}
|
326 |
+
/**
|
327 |
+
* ufb_form_response
|
328 |
+
*
|
329 |
+
* Filters form submission response
|
330 |
+
*
|
331 |
+
* @since 1.2.8
|
332 |
+
*
|
333 |
+
* @param array $form_response
|
334 |
+
* @param array $form_data
|
335 |
+
* @param array $form_row
|
336 |
+
*
|
337 |
+
* */
|
338 |
+
echo json_encode( apply_filters('ufb_form_response',$form_response,$form_data,$form_row) );
|
339 |
die();
|
340 |
}
|
341 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: contact form, form builder, form, forms, contact forms, enquiry forms, for
|
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 1.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -149,6 +149,9 @@ Once you install the plugin , you can check some general documentation about how
|
|
149 |
10. Backend Entry Detail
|
150 |
|
151 |
== Changelog ==
|
|
|
|
|
|
|
152 |
= 1.2.7 =
|
153 |
* Added ufbl_email_receivers filter for email receivers
|
154 |
|
4 |
Donate link: http://accesspressthemes.com/donation/
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 1.2.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
149 |
10. Backend Entry Detail
|
150 |
|
151 |
== Changelog ==
|
152 |
+
= 1.2.8 =
|
153 |
+
* Added ufb_form_response filter to filter form submission response
|
154 |
+
|
155 |
= 1.2.7 =
|
156 |
* Added ufbl_email_receivers filter for email receivers
|
157 |
|
ultimate-form-builder-lite.php
CHANGED
@@ -6,7 +6,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
6 |
Plugin Name: Ultimate Form Builder Lite
|
7 |
Plugin URI: https://accesspressthemes.com/wordpress-plugins/ultimate-form-builder-lite/
|
8 |
Description: A plugin to build any type of forms
|
9 |
-
Version: 1.2.
|
10 |
Author: AccessPress Themes
|
11 |
Author URI: http://accesspressthemes.com
|
12 |
License: GPL2
|
@@ -19,7 +19,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
|
19 |
* Necessary Constants for plugin
|
20 |
*/
|
21 |
global $wpdb;
|
22 |
-
defined( 'UFBL_VERSION' ) or define( 'UFBL_VERSION', '1.2.
|
23 |
defined( 'UFBL_SLUG' ) or define( 'UFBL_SLUG', 'ufbl' ); //plugin admin slug
|
24 |
defined( 'UFBL_TD' ) or define( 'UFBL_TD', 'ultimate-form-builder-lite' ); //plugin's text domain
|
25 |
defined( 'UFBL_IMG_DIR' ) or define( 'UFBL_IMG_DIR', plugin_dir_url( __FILE__ ) . 'images' ); //plugin image directory
|
6 |
Plugin Name: Ultimate Form Builder Lite
|
7 |
Plugin URI: https://accesspressthemes.com/wordpress-plugins/ultimate-form-builder-lite/
|
8 |
Description: A plugin to build any type of forms
|
9 |
+
Version: 1.2.8
|
10 |
Author: AccessPress Themes
|
11 |
Author URI: http://accesspressthemes.com
|
12 |
License: GPL2
|
19 |
* Necessary Constants for plugin
|
20 |
*/
|
21 |
global $wpdb;
|
22 |
+
defined( 'UFBL_VERSION' ) or define( 'UFBL_VERSION', '1.2.8' ); //plugin version
|
23 |
defined( 'UFBL_SLUG' ) or define( 'UFBL_SLUG', 'ufbl' ); //plugin admin slug
|
24 |
defined( 'UFBL_TD' ) or define( 'UFBL_TD', 'ultimate-form-builder-lite' ); //plugin's text domain
|
25 |
defined( 'UFBL_IMG_DIR' ) or define( 'UFBL_IMG_DIR', plugin_dir_url( __FILE__ ) . 'images' ); //plugin image directory
|