Tribe__PUE__Checker::get_installed_version()
Get the currently installed version of the plugin.
Return
(string) Version number.
Source
File: src/Tribe/PUE/Checker.php
public function get_installed_version() {
if ( function_exists( 'get_plugins' ) ) {
$all_plugins = get_plugins();
if ( array_key_exists( $this->get_plugin_file(), $all_plugins ) && array_key_exists( 'Version', $all_plugins[ $this->get_plugin_file() ] ) ) {
return $all_plugins[ $this->get_plugin_file() ]['Version'];
}
}
}