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