Remove unused `get_post_id()` method