Filter: wptt_shorten_link

Customize the URL shortening of a link in the link manager.

Parameters:
Name Type Description
$thispostlink string

The passed bookmark link.

$thislinkname string

The provided link title.

$post_ID bool

False, because links don't have post IDs.

$test bool

'link' to indicate a link is being shortened.

Source:
Returns:
Type
string

Run filters that shorten links.

Parameters:
Name Type Description
$permalink string

The post permalink.

$title string

The post title.

$post_ID int

The post ID.

$test bool

False because this is not a test cycle.

Source:
Returns:
Type
string