Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Wpf_Tokens::should_fetch_label( $token_info = array() )

Determines if the field should be parsed as label.

Return Return

(bool) Returns true if length is 3 and has label flag. Returns false, otherwise.

Source Source

File: src/integrations/wpforms/tokens/wpf-tokens.php

	private function should_fetch_label( $token_info = array() ) {
		return 3 === count( $token_info ) && 'label' === $token_info[2];