Docs
See if a resource is remote.
$url
includes/evf-core-functions.php
Make a URL relative, if possible.