# yaymail/4.3.3/templates/fallbacks/fallback-exists.php

YayMail – WooCommerce Email Customizer, version 4.3.3. 25 lines.

- Page: https://pluginprobe.com/plugins/yaymail/4.3.3/code/templates/fallbacks/fallback-exists.php
- Raw: https://pluginprobe.com/plugins/yaymail/4.3.3/raw/templates/fallbacks/fallback-exists.php
- Modified: 2026-02-12T15:49:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yaymail/4.3.3/code/templates/fallbacks/fallback-exists.php#L10-L20`.

```php
<?php

defined( 'ABSPATH' ) || exit;
add_action(
    'admin_notices',
    function() {
        if ( current_user_can( 'activate_plugins' ) ) {
            ?>
                <div class="notice notice-error is-dismissible">
                <p>
                    <strong><?php esc_html_e( 'It looks like you have another YayMail version installed, please delete it before activating this new version. All current settings and data are still preserved.', 'yaymail' ); ?>
                    <a href="https://docs.yaycommerce.com/yaymail/getting-started/how-to-update-yaymail"><?php esc_html_e( 'Read more details.', 'yaymail' ); ?></a>
                    </strong>
                </p>
                </div>
            <?php
            // phpcs:ignore WordPress.Security.NonceVerification.Recommended
            if ( isset( $_GET['activate'] ) ) {
                // phpcs:ignore WordPress.Security.NonceVerification.Recommended
                unset( $_GET['activate'] );
            }
        }
    }
);

```
