{"action":"opened","issue":{"url":"https://api.github.com/repos/jarednova/timber/issues/618","labels_url":"https://api.github.com/repos/jarednova/timber/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/jarednova/timber/issues/618/comments","events_url":"https://api.github.com/repos/jarednova/timber/issues/618/events","html_url":"https://github.com/jarednova/timber/issues/618","id":96775230,"number":618,"title":"What's the best way to convert a custom query to a Timber object?","user":{"login":"lmartins","id":151981,"avatar_url":"https://avatars.githubusercontent.com/u/151981?v=3","gravatar_id":"","url":"https://api.github.com/users/lmartins","html_url":"https://github.com/lmartins","followers_url":"https://api.github.com/users/lmartins/followers","following_url":"https://api.github.com/users/lmartins/following{/other_user}","gists_url":"https://api.github.com/users/lmartins/gists{/gist_id}","starred_url":"https://api.github.com/users/lmartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmartins/subscriptions","organizations_url":"https://api.github.com/users/lmartins/orgs","repos_url":"https://api.github.com/users/lmartins/repos","events_url":"https://api.github.com/users/lmartins/events{/privacy}","received_events_url":"https://api.github.com/users/lmartins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T09:57:44Z","updated_at":"2015-07-23T09:57:44Z","closed_at":null,"body":"Im using the Event Organiser plugin which as a custom method to retrieve posts. It is a wrapper to  `get_posts` but it adds a few features specific to dealing with events.\r\n\r\nWhat would be the best approach to avoid reinventing these queries while still using the awesomeness of Timber. Can I convert the result object to a Timber posts object?\r\n\r\nThe documentation for this custom method can be found here:\r\nhttp://codex.wp-event-organiser.com/function-eo_get_events.html\r\n\r\n\r\n\r\n"}}