wp_basename


wp_basename ( $path, $suffix = '' )

Parameters:
  • (string) $path A path.
  • (string) $suffix If the filename ends in suffix this will also be cut off.
Returns:
  • (string)
Defined at:

Description

i18n friendly version of basename()

Related Functions

plugin_basename, wp_tempnam, wp_maintenance, wp_autosave, wp_nav_menu

Top Google Results

User discussions

wpseek mobile