uentform'), 'value' => __('Allowed image types does not match', 'fluentform'), 'help_text' => __("This message will be shown if validation fails for image types.", 'fluentform'), ], 'allowed_file_types' => [ 'label' => __('Allowed File Types', 'fluentform'), 'value' => __('Invalid file type', 'fluentform'), 'help_text' => __("This message will be shown if validation fails for allowed file type.", 'fluentform'), ], 'max_file_size' => [ 'label' => __('Maximum File Size', 'fluentform'), 'value' => __('Validation fails for maximum file size', 'fluentform'), 'help_text' => __("This message will be shown if validation fails for maximum file size.", 'fluentform'), ], 'max_file_count' => [ 'label' => __('Maximum File Count', 'fluentform'), 'value' => __('Validation fails for maximum file count', 'fluentform'), 'help_text' => __("This message will be shown if validation fails for maximum file count.", 'fluentform'), ], ]; if (defined('FLUENTFORMPRO')) { $default_message_setting_fields['valid_phone_number'] = [ 'label' => __('Valid Phone Number', 'fluentform'), 'value' => __('Phone number is not valid', 'fluentform'), 'help_text' => __("This message will be shown if validation fails for validate phone number.", 'fluentform'), ]; } return apply_filters('fluentform/global_default_message_setting_fields', $default_message_setting_fields); } }