//Check php version if (version_compare(phpversion(), '5.4') === -1) { add_action( 'admin_notices', function () { echo '<div id="message" class="error"><p><strong>' .sprintf(TXT_UAM_PHP_VERSION_TO_LOW, phpversion()) .'</strong></p></div>'; } ); return; }