should_show_hint() ) { /** * @var Admin_Notices $admin_notices */ $admin_notices = Plugin::elementor()->admin->get_component( 'admin-notices' ); $notice_options = [ 'description' => esc_html__( 'Experiencing email deliverability issues? Get your emails delivered with Site Mailer.', 'elementor-pro' ), 'id' => 'site_mailer_forms_submissions_notice', 'type' => 'cta', 'button_secondary' => [ 'text' => Hints::is_plugin_installed( 'site-mailer' ) ? esc_html__( 'Activate Plugin', 'elementor-pro' ) : esc_html__( 'Install Plugin', 'elementor-pro' ), 'url' => Hints::get_plugin_action_url( 'site-mailer' ), 'type' => 'cta', ], ]; if ( 2 === Abtest::get_variation( 'plg_site_mailer_submission' ) ) { $notice_options['title'] = esc_html__( 'Get Your Emails Delivered With Site Mailer', 'elementor-pro' ); $notice_options['description'] = esc_html__( 'Make sure emails reach the inbox every time with improved deliverability, detailed email logs, and an easy setup with no need for an SMTP plugin.', 'elementor-pro' ); } $admin_notices->print_admin_notice( $notice_options ); } ?>