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:Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
i18n-friendly version of basename().