apply_filters( 'wpt_filter_truncated_value', string, string, string )
Filter a template tag value after truncation. If a value like an excerpt or post content has been truncated, you can modify the output using this filter.
Parameters:
| Name | Type | Description |
|---|---|---|
string |
$new_value Text truncated to maximum allowed length. |
|
string |
$key Template tag. |
|
string |
$old_value Text prior to truncation. |
- Source:
Returns:
string