register_all_core_location(); } /** * Header Support * * @since 1.0.0 * @return void */ public function do_header() { $did_location = Module::instance()->get_locations_manager()->do_location( 'header' ); if ( $did_location ) { remove_action( 'blog_era_action_header', 'blog_era_top_header', 10 ); remove_action( 'blog_era_action_header', 'blog_era_site_branding', 15 ); remove_action( 'blog_era_action_header', 'blog_era_site_nav_menu', 20 ); remove_action( 'blog_era_action_header', 'blog_era_featured_slider', 25); } } /** * Footer Support * * @since 1.0.0 * @return void */ public function do_footer() { $did_location = Module::instance()->get_locations_manager()->do_location( 'footer' ); if ( $did_location ) { remove_action( 'blog_era_action_footer', 'blog_era_footer_social', 10 ); remove_action( 'blog_era_action_footer', 'blog_era_footer_widget', 15 ); remove_action( 'blog_era_action_footer', 'blog_era_copyright', 20 ); } } } endif; Blog_Era_Elementor_Pro::get_instance();