Filter: wpt_do_shortening

apply_filters( 'wpt_do_shortening', bool, string, string, string, int, bool )

Apply a custom shortener to your status update. Return false to allow the settings to parse the URL or a URL to shortcircuit plugin settings.

Parameters:
Name Type Description
bool

$shrink False prior to shortening.

string

$shortener Shortener selected in settings.

string

$url Full permalink URL to post.

string

$post_title Title of source post.

int

$post_ID Post ID.

bool

$testmode True if running a test of XPoster.

Source:
Returns:

string