<?php
/**
* Load widget components
*
* @since Bosa Real Estate Group 1.0.0
*/
// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
require_once get_parent_theme_file_path( '/inc/widgets/class-base-widget.php' );
require_once get_parent_theme_file_path( '/inc/widgets/latest-posts.php' );
require_once get_parent_theme_file_path( '/inc/widgets/author.php' );
// @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
/**
 * Register widgets
 *
 * @since Bosa Real Estate Group 1.0.0
 */
/**
* Load all the widgets
* @since Bosa Real Estate Group 1.0.0
*/
function bosa_real_estate_group_register_widget() {

	$widgets = array(
		'bosa_real_estate_group_Latest_Posts_Widget',
		'bosa_real_estate_group_Author_Widget',
	);

	foreach ( $widgets as $key => $value) {
    	register_widget( $value );
	}
}
add_action( 'widgets_init', 'bosa_real_estate_group_register_widget' );