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

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

- Page: https://pluginprobe.com/plugins/yaymail/4.3.3/code/templates/fallbacks/fallback-minimum-php.php
- Raw: https://pluginprobe.com/plugins/yaymail/4.3.3/raw/templates/fallbacks/fallback-minimum-php.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-php.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
             // translators: %1$s: current PHP version,
            printf( esc_html__( 'YayMail requires PHP 7.2.0 to work and does not support your current PHP version %1$s. Please contact your host and request a PHP upgrade to the latest one.', 'yaymail' ), esc_html( phpversion() ) )
            ?>
        </strong>
    </p>
</div>
            <?php
        }
    }
);

```
