function render_inbox_message(MM_Conversation_Model $model) { //get all the message from this conversation $messages = $model->get_messages(); return $this->render_partial('shortcode/_inbox_message', array('messages' => $messages), false); }