url_shorten
url_shorten ( $url, $length = 35 )
Parameters:- (string) url URL to shorten.
- (int) length Optional. Maximum length of the shortened URL. Default 35 characters.
Returns:Defined at:Change Log: - Introduced in WordPress: 1.2.0
- Deprecated in WordPress: —
Description
Shortens a URL, to be used as link text.