form;
?>
render_partial( path_join( 'inputs/', $form['type'] ), [ 'input' => $form ] );
}
if ( ! empty( $form['children'] ) ) {
foreach ( $form['children'] as $form ) {
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
echo $this->render_partial( 'inputs/form', [ 'form' => $form ] );
}
}
?>