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

	foreach ( $property_dealer_homepage_sections as $property_dealer_section ) {
		require get_template_directory() . '/sections/' . $property_dealer_section . '.php';
	}
}