: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if ( ! vars.$select || vars.$select.length < 1 ) {
vars.$select.prop( 'disabled', false );
var $formSelectOptions = vars.$select.find( 'option' ),
$formSelectControl = vars.$select.closest( '.elementor-control' );
if ( $formSelectOptions.length > 0 ) {
$formSelectControl.show();
$formSelectControl.siblings( '.elementor-control-add_form_notice' ).hide();
if ( parseInt( vars.$select.val(), 10 ) > 0 ) {
$formSelectControl.siblings( '.elementor-control-test_form_notice' ).show();
* @param {mixed} msg Debug message.
console.log( 'WPForms Debug:', msg );
* @returns {boolean} True if the debug enabled.
return ( ( window.top.location.hash && '#wpformsdebug' === window.top.location.hash ) || wpformsElementorVars.debug );
}( document, window, jQuery ) );