Change post_id parameter to attachment_id so that it is more clear.