PluginProbe
WANotifier for Forms and Actions / 3.1.1
WANotifier for Forms and Actions v3.1.1
3.1.1 3.1.0 3.0.4 2.7.10 2.7.11 2.7.12 2.7.13 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 3.0.0 3.0.1 3.0.2 3.0.3 trunk 0.1.0 0.1.1 1.0.0 1.0.1 1.0.2 All 67 releases
← All changes | includes/classes/integrations/class-notifier-cf7.php +5 -1 2.7.53.1.1 View file →
@@ -1,5 +1,9 @@
1 1 <?php
2 +if ( ! defined( 'ABSPATH' ) ) {
3 + exit;
4 +}
5 +
2 6 /**
3 7 * Contact Form 7 notifications
4 8 *
5 9 * @package Wa_Notifier
@@ -106,9 +110,9 @@
106 110
107 111 $recipient_fields = array();
108 112 foreach($form_fields as $field){
109 113
110 - if('tel' != $field->basetype){
114 + if(!in_array($field->basetype, array('tel', 'phonefield'))){
111 115 continue;
112 116 }
113 117
114 118 $field_name = $field->name;