public function purge_cache_on_attachment_delete($post_id) { $this->purge_from_cache($this->get_url($post_id)); }