Shortens URLs. Removes http://, www., and truncates the remaining URL to 35 characters, including '...' if the URL is longer than that.
WordPress uses it to display URLs on the link management screen.
<?php echo url_shorten('http://www.example.com/an/article/with/a/very/long/url'); ?>
This would print:
example.com/an/article/with/a/ve...
Since: 1.2.1
url_shorten() is located in wp-admin/includes/misc.php
.