-
Notifications
You must be signed in to change notification settings - Fork 4
wpt_max_length
github-actions[bot] edited this page Jun 14, 2026
·
1 revision
Filter the max length array used for calculating status update truncation.
add_filter(
'wpt_max_length',
function(
array $values,
$service
) {
// Your code here.
return $values;
},
10,
2
);-
array$valuesArray with various values used for calculating how long your status update can be. $service
array
apply_filters( 'wpt_max_length', $values, $service )