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:
  • (string) Shortened URL.
Defined at:
Change Log:
  • 4: .

Description

Shortens a URL, to be used as link text.

Related Functions

do_shortcode, sort_menu, remove_shortcode, apply_shortcodes, strip_shortcodes

Top Google Results

User discussions

wpseek mobile