/** * Prepare wall post attachments * * @param \ElggObject $object Wall post * @return string|false */ function format_wall_attachments($object) { if ($object instanceof Post) { return $object->formatAttachments(); } return ''; }
/** * Prepare wall post attachments * * @param \ElggObject $object Wall post * @return string|false */ function format_wall_attachments($object) { if ($object instanceof Post) { return $object->formatAttachments(); } return ''; }