astra_addon_has_3_5_0_version()
Check the Astra addon 3.5.0 version is using or not.
Description
As this is major update and frequently we used version_compare, added a function for this for easy maintenance.
Source
File: inc/extras.php
function astra_addon_has_3_5_0_version() { return defined( 'ASTRA_EXT_VER' ) && version_compare( ASTRA_EXT_VER, '3.5.0', '<' ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |