apply_filters( 'wpt_custom_truncate', $post_status, $update, $post_ID, $repost, $reference ) → {string}
Filter an update template that does not contain any XPoster template tags.
Parameters:
Name | Type | Description |
---|---|---|
$post_status |
string | Text to status update truncated to maximum allowed length. |
$update |
string | Original passed text. |
$post_ID |
int | Post ID. |
$repost |
bool | Boolean flag that indicates whether this is being reposted. |
$reference |
int | Pass reference (1). |
- Source:
Returns:
- Type
- string