<?php
namespace Banana_Addons\Elementor\Theme_Builder\Themes;

class Banana_Theme_Genesis {

	public function __construct() {
        
		// remove Astra header
        remove_action( 'genesis_header', 'genesis_do_header' );
        remove_action( 'genesis_footer', 'genesis_do_footer' );

        // final remove
        remove_all_actions( 'genesis_header', 5 );
        remove_all_actions( 'genesis_footer', 5 );

        add_action( 'genesis_header', 'banana_render_header' );
        add_action( 'genesis_footer', 'banana_render_footer' );
	}
}

new Banana_Theme_Genesis();