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( 'business_plan_action_before_header', 'business_plan_site_branding', 10 ); } } /** * 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( 'business_plan_action_footer', 'business_plan_footer_section', 10 ); } } /** * Override 404 page * * @since 1.0.0 * @return void */ function do_template_part_404() { if ( is_404() ) { // Is Single? $did_location = Module::instance()->get_locations_manager()->do_location( 'single' ); if ( $did_location ) { remove_action( 'business_plan_action_404_section', 'business_plan_404_section' ); } } } } endif; return new Business_Plan_Elementor_Pro();