Skip to content

wpt_tweet_sentence

github-actions[bot] edited this page Jun 14, 2026 · 1 revision

Filter a template prior to parsing tags.

Auto-generated Example

add_filter(
   'wpt_tweet_sentence',
    function(
        string $update,
        int $post_ID
    ) {
        // Your code here.
        return $update;
    },
    10,
    2
);

Parameters

  • string $update Template for this status update.
  • int $post_ID Post ID.

Returns

string

Files

apply_filters( 'wpt_tweet_sentence', $update, $post_ID )

← All Hooks

Clone this wiki locally