|
Server IP : 168.119.101.163 / Your IP : 216.73.217.54 Web Server : Apache/2 System : Linux web02.webzuiver.nl 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : equine ( 1027) PHP Version : 8.1.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0755) : /home/equine/public_html/wp-content/plugins/complianz-gdpr-premium/pro/settings/fields/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
defined('ABSPATH') or die();
/**
* For saving purposes, types should be overridden at the earliest moment
*
* @param array $fields
*
* @return array
*/
function cmplz_add_pro_wizard_fields( array $fields): array {
return array_merge($fields, [
[
'id' => 'free_phonenr',
'menu_id' => 'website-information',
'type' => 'phone',
'default' => '',
'required' => false,
'label' => __("Enter a toll free phone number for the submission of information requests", 'complianz-gdpr'),
'document_label' => 'Toll free phone number: ',
'react_conditions' => [
'relation' => 'AND',
[
'regions' => ['us'],
]
],
'help' => [
'label' => 'default',
'title' => __( "A toll free phone number", 'complianz-gdpr' ),
'text' => __('For US based companies, you can provide a toll free phone number for inquiries.','complianz-gdpr'),
'url' => 'https://complianz.io/toll-free-phone-number-ccpa/',
],
]]
);
}
add_filter('cmplz_fields', 'cmplz_add_pro_wizard_fields', 20, 1);