-
Notifications
You must be signed in to change notification settings - Fork 4
wpt_tweet_posted
github-actions[bot] edited this page Jun 20, 2026
·
3 revisions
Executes an action after a status is posted successfully.
add_action(
'wpt_tweet_posted',
function(
object $connection,
int $post_ID
) {
// Your code here.
},
10,
2
);-
object$connectionThe current OAuth connection. -
int$post_IDPost ID for status update.
do_action( 'wpt_tweet_posted', $connection, $post_ID )