plugin_basename
plugin_basename ( $file )
Parameters:- (string) file The filename of plugin.
Returns:- (string) The name of a plugin.
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Gets the basename of a plugin.This method extracts the name of a plugin from its filename.