content; ?>

documentation' ); ?>

[uacf7-row]
	[uacf7-col col:12] --your code-- [/uacf7-col]
[/uacf7-row]
[uacf7-row]
	[uacf7-col col:6] --your code-- [/uacf7-col]
	[uacf7-col col:6] --your code-- [/uacf7-col]
[/uacf7-row]
[uacf7-row]
	[uacf7-col col:4] --your code-- [/uacf7-col]
	[uacf7-col col:4] --your code-- [/uacf7-col]
	[uacf7-col col:4] --your code-- [/uacf7-col]
[/uacf7-row]
[uacf7-row]
	[uacf7-col col:3] --your code-- [/uacf7-col]
	[uacf7-col col:3] --your code-- [/uacf7-col]
	[uacf7-col col:3] --your code-- [/uacf7-col]
	[uacf7-col col:3] --your code-- [/uacf7-col]
[/uacf7-row]
(Pro)
documentation' ); ?>
$tag_part) { if( $tag_part == 'col:12' ){ $ucaf7_column_class = 'uacf7-col-12'; } elseif($tag_part == 'col:6'){ $ucaf7_column_class = 'uacf7-col-6'; } elseif($tag_part == 'col:4'){ $ucaf7_column_class = 'uacf7-col-4'; } elseif($tag_part == 'col:3'){ $ucaf7_column_class = 'uacf7-col-3'; } else { $uacf7_column_custom_width = $tag_part; } } $html = '
'; echo apply_filters( 'uacf7_column_custom_width', $html, $ucaf7_column_class, $uacf7_column_custom_width ); } else if ($form_part == '[/uacf7-col]') { echo '
'; } else { echo $form_part; } } $properties['form'] = ob_get_clean(); } return $properties; } public function uacf7_row_properties($properties, $cfform) { if (!is_admin() || (defined('DOING_AJAX') && DOING_AJAX)) { $form = $properties['form']; $form_parts = preg_split('/(\[\/?uacf7-row(?:\]|\s.*?\]))/',$form, -1,PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); ob_start(); foreach ($form_parts as $form_part) { if (substr($form_part,0,10) == '[uacf7-row') { $tag_parts = explode(' ',rtrim($form_part,']')); array_shift($tag_parts); echo '
'; } else if ($form_part == '[/uacf7-row]') { echo '
'; } else { echo $form_part; } } $properties['form'] = ob_get_clean(); } return $properties; } } new UACF7_COLUMN();