filter post function implemented -- input postID and it hides the post