Action: wpt_tweet_failed

do_action( 'wpt_tweet_failed', $connection, $id, $error )

Executes an action after posting a Tweet fails.

Parameters:
Name Type Description
$connection object

The current OAuth connection.

$id int

Post ID for Tweeted post.

$error string

Error message returned.

Since:
  • 3.6.0
Source: