I’m trying to get the plugin version from composer.json) e.g. “version”: “2.7”
via props into the Panel?
'fields' => [
'pluginName' => [
'props' => [
'plugin_version' => function () {
return $this->kirby()->version();
},
.....
Which returns the Kirby version, but I want the plugin version, but plugin() does not work?
Any pointers?