Takes a filepath and potentially returns a relative path (prefixed with '~/'), if $filepath begins with ABSPATH.
static public maybe_make_abspath_relative ( string $filepath ) : string | ||
$filepath | string | |
return | string |
static public maybe_make_abspath_relative ( string $filepath ) : string | ||
$filepath | string | |
return | string |