• Hi,

    I’d like to add a function relative to the specific phone format based on this function :

    function custom_filter_wpcf7_is_tel( $result, $tel ) {
    $result = preg_match( ‘/^((+33)1-9|12345678|23456789)[0-9]{8})|((+352)[2-9]0-9{2,3})$/’, $tel );
    return $result;
    }
    add_filter( ‘wpcf7_is_tel’, ‘custom_filter_wpcf7_is_tel’, 10, 2 );

    Do you have a hook like “wpcf7_is_phonetext” that I could use?

    Thanks in advance

The topic ‘Hook Phone format’ is closed to new replies.