Skip to content
Home Cookie Policy Unique Mind Counselling
Cookie Policy
Cookie Policy This website uses only essential cookies necessary for its operation, plus optional analytics cookies where enabled. No cookies are used to collect health information.
You can control or delete cookies through your browser settings at any time.
Book an Appointment
close
// Split fields into steps at each 'step' break.
$steps = array();
$step_meta = array();
$current = array();
$has_steps = false;
foreach ( $fields as $f ) {
if ( 'step' === $f['type'] ) {
$has_steps = true;
$steps[] = $current;
$step_meta[] = array(
'title' => $f['label'] ? $f['label'] : '',
'desc' => isset( $f['options'] ) ? $f['options'] : '',
);
$current = array();
continue;
}
$current[] = $f;
}
$steps[] = $current;
if ( $has_steps ) {
// First step has no preceding break — synthesize its meta.
array_unshift( $step_meta, array( 'title' => __( 'Your Details', 'unique-mind' ), 'desc' => '' ) );
}
?>
If you are in crisis or need immediate support, call Lifeline on 13 11 14 or 000 in an emergency.
We use cookies to improve your experience and understand how our site is used. You can accept or decline analytics cookies.
Accept
Decline