Description
Return the last path for the given file
Usage
$string = oik_update::bw_last_path( $file );Parameters
- $file
- ( string ) required – a fully specified file name ( e.g. FILE )
Returns
string the last part of the file's path e.g.Source
File name: oik/libs/class-oik-update.phpLines:
1 to 6 of 6
static function bw_last_path( $file ) { bw_trace2(); $pathinfo = pathinfo( $file, PATHINFO_DIRNAME ); $last_path = basename( $pathinfo ); return( $last_path ); }View on GitHub View on Trac
Called by
1 to 2 of 2
