WordPress\AiClient\Messages\DTO

Message::getPartspublicWP 0.1.0

Gets the message parts.

Method of the class: Message{}

No Hooks.

Returns

MessagePart[]. The message parts.

Usage

$Message = new Message();
$Message->getParts(): array;

Changelog

Since 0.1.0 Introduced.

Message::getParts() code WP 7.0

public function getParts(): array
{
    return $this->parts;
}