low-php-version.php in PhastPress 3.8, at low-php-version.php
| 1 | <?php |
| 2 | |
| 3 | if (!defined('PHASTPRESS_VERSION')) { |
| 4 | exit; |
| 5 | } |
| 6 | |
| 7 | add_action('admin_notices', 'phastpress_php_version_notice'); |
| 8 | |
| 9 | function phastpress_php_version_notice() { |
| 10 | ?> |
| 11 | <div class="error notice"> |
| 12 | <p> |
| 13 | <b>Sorry, PhastPress won't work here.</b> |
| 14 | PhastPress requires at least PHP version 7.3. |
| 15 | Get in touch with your hosting provider for an upgrade to the latest PHP version. |
| 16 | </p> |
| 17 | </div> |
| 18 | <?php |
| 19 | } |
| 20 |