You appear to be a bot. Output may be restricted
Description
Get the full plugin name given the slugNote: This may return the wrong name if there are two plugins with the same plugin slug! Which can happen if someone manually renames a plugin folder in order to apply a new version.
Usage
$string = bw_get_plugin_name( $plugin );
Parameters
- $plugin
- ( mixed ) optional default: oik –
Returns
string $plugin_nameSource
File name: oik/libs/oik_plugins.phpLines:
1 to 5 of 5
function bw_get_plugin_name( $plugin="oik" ) { $plugins = _bw_get_plugins(); $plugin_name = bw_array_get( $plugins, $plugin, null ); return( $plugin_name ); }View on GitHub View on Trac