public function rest_get_related_posts($object, $field_name, $request) { return $this->get_for_post_id($object['id'], array()); }