Skip to content

Instantly share code, notes, and snippets.

@juban juban/index.php
Created Jul 8, 2019

What would you like to do?
Test Craft CMS version
$schemaVersion = Craft::$app->getInstalledSchemaVersion();
if (version_compare($schemaVersion, '3.2.0', '>=')) {
// Do something specific to Craft CMS 3.2 and upper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.