: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
/* global wpforms_builder_lite, wpforms_builder */
var WPFormsBuilderLite = window.WPFormsBuilderLite || ( function( document, window, $ ) {
* Public functions and properties.
bindUIActions: function() {
// Warn users if they disable email notifications.
$( document ).on( 'change', '#wpforms-panel-field-settings-notification_enable', function() {
app.formBuilderNotificationAlert( $( this ).is( ':checked' ) );
* Warn users if they disable email notifications.
* @param {bool} value Whether notifications enabled or not. 0 is disabled, 1 is enabled.
formBuilderNotificationAlert: function( value ) {
title: wpforms_builder.heads_up,
content: wpforms_builder_lite.disable_notifications,
icon: 'fa fa-exclamation-circle',
text: wpforms_builder.ok,
// Provide access to public functions/properties.
}( document, window, jQuery ) );
WPFormsBuilderLite.init();