get_plugin_ini
— Get specified descriptive info for a plugin from its ini file.
Summary
- get_plugin_ini($pluginDirName, $iniKeyName)
Get specified descriptive info for a plugin from its ini file.
- Parameters:
$pluginDirName (
string
) – The directory name of the plugin.$iniKeyName (
string
) – The name of the key in the ini file.
- Returns:
string|null The value of the specified plugin key. If the key does not exist, it returns null.