Contact Form for WordPress – Ultimate Form Builder Lite - Version 1.1.9

Version Description

  • Added ufbl_mail_header filter
  • Fixed small bug regarding incomplete mail subject
  • Added ufbl_email_send action after email sending
Download this release

Release Info

Developer Access Keys
Plugin Icon 128x128 Contact Form for WordPress – Ultimate Form Builder Lite
Version 1.1.9
Comparing to
See all releases

Code changes from version 1.1.8 to 1.1.9

classes/ufbl-lib.php CHANGED
@@ -366,13 +366,18 @@ if ( !class_exists( 'UFBL_Lib' ) ) {
366
  $email_recievers = $form_detail['email_settings']['email_reciever'];
367
  $headers = array();
368
  $headers[] = 'Content-Type: text/html; charset=UTF-8';
369
- $headers[] = 'From: ' . $from_name . '<' . $from_email . '>' ;
370
-
371
 
372
  foreach ( $email_recievers as $email_reciever ) {
373
  $to_email = ($email_reciever == '') ? $admin_email : esc_attr( $email_reciever );
374
  //$mail = mail( $to_email, $email_subject, $form_html, $headers );
375
  $mail = wp_mail( $to_email,$email_subject, $form_html, $headers );
 
 
 
 
 
376
  }
377
  }
378
  }
366
  $email_recievers = $form_detail['email_settings']['email_reciever'];
367
  $headers = array();
368
  $headers[] = 'Content-Type: text/html; charset=UTF-8';
369
+ $headers[] = 'From: ' . $from_name . ' <' . $from_email . '>' ;
370
+ $headers = apply_filters('ufbl_mail_header',$headers);
371
 
372
  foreach ( $email_recievers as $email_reciever ) {
373
  $to_email = ($email_reciever == '') ? $admin_email : esc_attr( $email_reciever );
374
  //$mail = mail( $to_email, $email_subject, $form_html, $headers );
375
  $mail = wp_mail( $to_email,$email_subject, $form_html, $headers );
376
+
377
+ /**
378
+ * Action to trigger after email
379
+ * */
380
+ do_action('ufbl_email_send',$to_email,$email_subject,$form_html,$headers);
381
  }
382
  }
383
  }
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Ultimate Form Builder Lite ===
2
  Contributors: Access Keys
3
  Tags: contact form, form builder, form, forms, contact forms, enquiry forms, form manager, email form, lead form, email, database store form, form entry, form entries, email forms
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.5
7
- Stable tag: 1.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -146,6 +146,11 @@ Once you install the plugin , you can check some general documentation about how
146
  10. Backend Entry Detail
147
 
148
  == Changelog ==
 
 
 
 
 
149
  = 1.1.8 =
150
  * Added Swedish Language
151
 
1
+ === Contact Form for WordPress - Ultimate Form Builder Lite ===
2
  Contributors: Access Keys
3
  Tags: contact form, form builder, form, forms, contact forms, enquiry forms, form manager, email form, lead form, email, database store form, form entry, form entries, email forms
4
  Donate link: http://accesspressthemes.com/donation/
5
  Requires at least: 3.8
6
  Tested up to: 4.5
7
+ Stable tag: 1.1.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
146
  10. Backend Entry Detail
147
 
148
  == Changelog ==
149
+ = 1.1.9 =
150
+ * Added ufbl_mail_header filter
151
+ * Fixed small bug regarding incomplete mail subject
152
+ * Added ufbl_email_send action after email sending
153
+
154
  = 1.1.8 =
155
  * Added Swedish Language
156
 
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.1.8
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.1.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
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.1.9
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.1.9' ); //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