diff --git a/vip-block-data-api.php b/vip-block-data-api.php index 5874815..7f3d640 100644 --- a/vip-block-data-api.php +++ b/vip-block-data-api.php @@ -20,6 +20,19 @@ if ( ! defined( 'VIP_BLOCK_DATA_API_LOADED' ) ) { define( 'VIP_BLOCK_DATA_API_LOADED', true ); + // ToDo: When 6.4 is our min version, switch to wp_admin_notice. + global $wp_version; + if ( version_compare( phpversion(), '8.0', '<' ) || version_compare( $wp_version, '6.0', '<' ) ) { + add_action( 'admin_notices', function () { + ?> +
+

+
+