Skip to content

wpt_tweet_posted

github-actions[bot] edited this page Jun 20, 2026 · 3 revisions

Executes an action after a status is posted successfully.

Auto-generated Example

add_action(
   'wpt_tweet_posted',
    function(
        object $connection,
        int $post_ID
    ) {
        // Your code here.
    },
    10,
    2
);

Parameters

  • object $connection The current OAuth connection.
  • int $post_ID Post ID for status update.

Files

do_action( 'wpt_tweet_posted', $connection, $post_ID )

← All Hooks

Clone this wiki locally