How to validate contact form 7 telephone number in WordPress

Contact form 7 has many pre-defined hooks through which you can validate any field.Here, in the Contact Form 7 formatting.php module, validation rule is defined by below mentined method.You can override it by filter  hook mentioned in apply_filters () through functions.php

Please add the below mentioned code in functions.php in your activated theme folder and add your validation rule to $result




One Comment

Add a Comment

Your email address will not be published. Required fields are marked *