MCPcopy Create free account
hub / github.com/cfinke/Channel-Two / add_base

Function add_base

parse-schedule.php:307–317  ·  view source on GitHub ↗
( $path )

Source from the content-addressed store, hash-verified

305}
306
307function add_base( $path ) {
308 global $base;
309
310 if ( ! $base ) {
311 return $path;
312 }
313
314 $base = rtrim( $base, '/' ) . '/';
315
316 return $base . ltrim( $path, '/' );
317}

Callers 1

parse-schedule.phpFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected