db = new FiveD_Site_Bridge_DB(); $this->settings = new FiveD_Site_Bridge_Settings( $this->db ); $this->transport = new FiveD_Site_Bridge_Transport( $this->settings ); add_action( 'admin_notices', array( $this, 'maybe_show_transport_notice' ) ); } /** * Explain the active transport during the compatibility handoff. * * @return void */ public function maybe_show_transport_notice() { if ( ! current_user_can( 'manage_options' ) ) { return; } if ( ! $this->transport->is_primary() && ! $this->is_ai_engine_active() ) { echo '
'; echo esc_html__( 'Your AI client cannot reach this site yet. Open Divi Powers → AI Connection to check the connection.', '5d-powers-for-divi' ); echo '
'; echo esc_html__( '5D Powers for Divi is ready to work with ChatGPT. AI Engine may remain active while you test, but it is no longer required.', '5d-powers-for-divi' ); echo '
'; echo esc_html__( 'The original Oraya Site Bridge is still active. After confirming the 5D Powers for Divi connection tools, deactivate the old bridge to avoid duplicate site-management toolsets.', '5d-powers-for-divi' ); echo '