classes/fields/pick.php
private function is_autocomplete( $options ) {

		$autocomplete = false;

		if ( 'single' === pods_v( static::$type . '_format_type', $options, 'single' ) ) {
			if ( in_array( pods_v( static::$type . '_format_single', $options, 'dropdown' ), array( 'autocomplete', 'list' ), true ) ) {
				$autocomplete = true;
			}
		} elseif ( 'multi' === pods_v( static::$type . '_format_type', $options, 'single' ) ) {
			if ( in_array( pods_v( static::$type . '_format_multi', $options, 'checkbox' ), array( 'autocomplete', 'list' ), true ) ) {
				$autocomplete = true;
			}
		}

		return $autocomplete;
	}
private function is_autocomplete( $options ) {

		$autocomplete = false;

		if ( 'single' === pods_v( static::$type . '_format_type', $options, 'single' ) ) {
			if ( in_array( pods_v( static::$type . '_format_single', $options, 'dropdown' ), array( 'autocomplete', 'list' ), true ) ) {
				$autocomplete = true;
			}
		} elseif ( 'multi' === pods_v( static::$type . '_format_type', $options, 'single' ) ) {
			if ( in_array( pods_v( static::$type . '_format_multi', $options, 'checkbox' ), array( 'autocomplete', 'list' ), true ) ) {
				$autocomplete = true;
			}
		}

		return $autocomplete;
	}
private function is_autocomplete ( $ options ) { $ autocomplete = false ; if ( 'single' === pods_v ( static :: $ type . '_format_type' , $ options , 'single' ) ) { if ( in_array ( pods_v ( static :: $ type . '_format_single' , $ options , 'dropdown' ) , array ( 'autocomplete' , 'list' ) , true ) ) { $ autocomplete = true ; } } elseif ( 'multi' === pods_v ( static :: $ type . '_format_type' , $ options , 'single' ) ) { if ( in_array ( pods_v ( static :: $ type . '_format_multi' , $ options , 'checkbox' ) , array ( 'autocomplete' , 'list' ) , true ) ) { $ autocomplete = true ; } } return $ autocomplete ; }
Check if field is autocomplete enabled.

@param array $options Field options.

@return bool

@since 2.7.0
Check if field is autocomplete enabled .