-
Notifications
You must be signed in to change notification settings - Fork 4
wpt_recent_tweet_threshold
github-actions[bot] edited this page Jun 14, 2026
·
1 revision
Modify the expiration window for recent status updates.
This value does flood control, to prevent a runaway process from sending multiple status updates. Default 30 seconds.
add_filter(
'wpt_recent_tweet_threshold',
function( int $expire ) {
// Your code here.
return $expire;
}
);-
int$expireInteger representing seconds. How long the transient will exist.
int
apply_filters( 'wpt_recent_tweet_threshold', 30 )