How to Get The WordPress Plugin Version From a Plugin Header Block

If you’re developing a new plugin, you may find it useful to get the plugin version of your plugin from the Plugin Header block for use in other areas of your plugin such as query ? strings used in included files like script.js and style.css files. This technique will explain how to easily grab the “Version” value from your plugin header to use throughout your plugin.