# yaymail/4.3.3/templates/fallbacks/fallback-minimum-wp.php

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

- Page: https://pluginprobe.com/plugins/yaymail/4.3.3/code/templates/fallbacks/fallback-minimum-wp.php
- Raw: https://pluginprobe.com/plugins/yaymail/4.3.3/raw/templates/fallbacks/fallback-minimum-wp.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-minimum-wp.php#L10-L20`.

```php
<?php

defined( 'ABSPATH' ) || exit;

global $wp_version;

add_action(
    'admin_notices',
    function() {
        if ( current_user_can( 'activate_plugins' ) ) {
            ?>
<div class="notice notice-error is-dismissible">
    <p>
        <strong>
            <?php
             // translators: %1$s: current WordPress version,
            printf( esc_html__( 'YayMail requires WordPress 5.2.0 to work and does not support your current WordPress version %1$s.', 'yaymail' ), isset( $wp_version ) ? esc_html( $wp_version ) : '' )
            ?>
        </strong>
    </p>
</div>
            <?php
        }
    }
);

```
