plugin_basename


plugin_basename ( $file )

Parameters:
  • (string) $file The filename of plugin.
Returns:
  • (string) The name of a plugin.
Defined at:

Description

Gets the basename of a plugin.

This method extracts the name of a plugin from its filename.

Related Functions

wp_basename, get_plugin_page_hookname, plugins_api, is_plugin_page, is_plugin_inactive

Top Google Results

User discussions

wpseek mobile