Skip to content

wpt_tweet_failed

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

Executes an action after posting a status fails.

Auto-generated Example

add_action(
   'wpt_tweet_failed',
    function(
        object $connection,
        int $post_ID,
        string $error
    ) {
        // Your code here.
    },
    10,
    3
);

Parameters

  • object $connection The current OAuth connection.
  • int $post_ID Post ID for status update.
  • string $error Error message returned.

Files

do_action( 'wpt_tweet_failed', $connection, $post_ID, $notice )

← All Hooks

Clone this wiki locally