Filter: wpt_post_attachment

apply_filters( 'wpt_post_attachment', $attachment_id, $post_ID ) → {int|bool}

Filter the attachment ID to post with a status update.

Parameters:
Name Type Description
$attachment_id int

Attachment ID.

$post_ID int

Post ID.

Source:
Returns:
Type
int | bool