WC_Emails::customer_detail_field_is_valid( array $field )
Is customer detail field valid?
Description Description
Parameters Parameters
- $field
-
(Required) Field data to check if is valid.
Return Return
(boolean)
Source Source
File: includes/class-wc-emails.php
public function customer_detail_field_is_valid( $field ) { return isset( $field['label'] ) && ! empty( $field['value'] ); }