Skip to content

Commit

Permalink
Add the account ID
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rgiosan committed Dec 16, 2024
1 parent 504ceed commit 3c400b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/class-publish-tweet.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,10 @@ public function status_update( $body, $post, $account_id = null ) {
* @param array|object The response from the Twitter endpoint.
* @param array Data to send to the Twitter endpoint.
* @param \WP_Post The post associated with the tweet.
* @param int|null The Twitter account ID.
* @param array The headers from the last request.
*/
do_action( 'autoshare_for_twitter_after_status_update', $response, $update_data, $post, $last_headers );
do_action( 'autoshare_for_twitter_after_status_update', $response, $update_data, $post, $account_id, $last_headers );

return $response;
}
Expand Down

0 comments on commit 3c400b8

Please sign in to comment.