apply_filters( 'wpt_custom_truncate', $post_tweet, $tweet, $post_ID, $retweet, $reference ) → {string}
Filter a Tweet template after all content checks are completed.
Parameters:
Name | Type | Description |
---|---|---|
$post_tweet |
string | Text to Tweet truncated to maximum allowed length. |
$tweet |
string | Original passed text. |
$post_ID |
int | Post ID. |
$retweet |
bool | Boolean flag that indicates whether this is being reposted. |
$reference |
int | Pass reference (3). |
- Source:
Returns:
- Type
- string