Lware

How to prevent text from phone number field gravity forms

To prevent users from entering text into a phone number field in Gravity Forms while using international phone format, you can utilize JavaScript to validate the input. Here’s a basic example of how you can achieve this (prevent text from phone number field gravity forms). This script listens for input in the phone number field […]

How to prevent text from phone number field gravity forms Read More »

PHP Fatal error: Uncaught Error: Call to undefined function create_function()

I recently encountered PHP Fatal error: Uncaught Error: Call to undefined function create_function error when updating WordPress install from PHP7.4 to PHP8.0. Below was the line of code that was causing the issue In PHP 8, the create_function function has been deprecated, and its use is no longer recommended. Instead, you can use a closure

PHP Fatal error: Uncaught Error: Call to undefined function create_function() Read More »

Disable Language Switcher on WordPress Login Screen 2 Ways

In this article we are going to look at how we can disable language switcher dropdown on the WordPress login screen.  Why disable language switcher dropdown ? Since WordPress 5.9 wordpress came up with a language switcher which shows up on the login screen. This will help a person to choose the default language to

Disable Language Switcher on WordPress Login Screen 2 Ways Read More »