Pulling plugin data

Re: Pulling plugin data

by Richard Oelmann -
Number of replies: 0
Picture of Core developers Picture of Plugin developers Picture of Testers

It tells you on that screen shot.

The Language file will give the readable name as the one in black type, the plugin title will be the bit after the underscore in the grey text on white background, with the plugin type being the bit preceding the underscore. This bit in the white background is the $plugin->component from the version.php, while the readable plugin name can be found in the plugin language file.

Note - just to confuse the terminology - the readable name in the language string is $string['pluginname'], so not sure what you really want to call each of the elements, but that's why I've split them as pluginname/plugintitle here.

Readable Name 
plugintype_plugintitle

As for an 'official' name for the plugins, I would go with the $plugin->component value, which would be the bit in the white background.

Richard

Average of ratings: Useful (1)