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.


Top ↑

Return Return

(boolean)


Top ↑

Source Source

File: includes/class-wc-emails.php

	public function customer_detail_field_is_valid( $field ) {
		return isset( $field['label'] ) && ! empty( $field['value'] );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.