Action: wpt_post_to_service

do_action( 'wpt_post_to_service', $post_ID, $post_info, $template, $media )

Execute an action when a status update is executed.

Parameters:
Name Type Description
$post_ID int

Post ID.

$post_info array

Array of post info for templates.

$template string

Template in use.

$media bool

Whether media should be included.

Source: