<?php
/**
 * Render homepage sections.
 */
function appointment_management_homepage_sections() {
	$appointment_management_homepage_sections = array_keys( appointment_management_get_homepage_sections() );

	foreach ( $appointment_management_homepage_sections as $appointment_management_section ) {
		require get_template_directory() . '/sections/' . $appointment_management_section . '.php';
	}
}