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, is_plugin_paused, is_plugin_page, plugins_api

Top Google Results

User discussions

wpseek mobile