Description Usage Arguments Value
Checks whether a package has already been installed. If it has, and if the version corresponds to the required package version, then it returns TRUE. If it has been installed and the version does not correspond to the required version, then it throws an exception. Otherwise, it returns false.
1 | validate_installed_package(package, version, compare)
|
package |
the package to check |
version |
the required version |
compare |
the comparison operator |
whether we should install the package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.