web/wp-content/plugins/caldera-forms/processors/classes/ui.php
/**
	 * Output field markup form an array fo field args
	 *
	 * @since 1.3.0
	 *
	 * @param array $fields Array of args to pass to self::config_field()
	 * @param null|string|int Optional. If null, all fields (except those with print args set to false will be printed). Can be used to print a group of fields based on the value of the print arg.
	 *
	 * @return bool|string The Markup or false if invalid.
	 */
Output field markup form an array fo field args
@since 1.3.0

@param array $fields Array of args to pass to self::config_field()
@param null|string|int Optional. If null, all fields (except those with print args set to false will be printed). Can be used to print a group of fields based on the value of the print arg.

@return bool|string The Markup or false if invalid.
Output field markup form an array fo field args @since 1 . 3 . 0 @param array $fields Array of args to pass to self :: config_field () @param null|string|int Optional . If null all fields ( except those with print args set to false will be printed ) . Can be used to print a group of fields based on the value of the print arg . @return bool|string The Markup or false if invalid .
public static function config_fields( $fields, $print_group = null ) {
		$out = '';
		if ( ! empty( $fields ) && is_array( $fields ) ) {
			foreach( $fields as $args ) {
				if ( ! empty( $args ) ) {
					if ( isset( $args[ 'print' ] ) && false ==  $args[ 'print' ] ){
						continue;
					}
					if ( ! is_null( $print_group ) ) {
						if ( isset( $args[ 'print' ]  ) || $print_group != $args[ 'print' ] ) {
							continue;
						}
					}
					$out .= self::config_field( $args );
				}
			}
		}
 		return $out;
	}
public static function config_fields ( $ fields , $ print_group = null ) { $ out = '' ; if ( ! empty ( $ fields ) && is_array ( $ fields ) ) { foreach ( $ fields as $ args ) { if ( ! empty ( $ args ) ) { if ( isset ( $ args [ 'print' ] ) && false == $ args [ 'print' ] ) { continue ; } if ( ! is_null ( $ print_group ) ) { if ( isset ( $ args [ 'print' ] ) || $ print_group != $ args [ 'print' ] ) { continue ; } } $ out .= self :: config_field ( $ args ) ; } } } return $ out ; }
Output field markup form an array fo field args
 @since 1.3.0
Output field markup form an array fo field args @since 1 . 3 . 0