Post
Whenever you're dealing with a post in your template, you're actually working with a Post object.
Properties
Type: int|null
ID of the post.
Type: int|null
The account ID this post was made from.
Type: int|null
The entry ID this post was made on.
Type: int|null
The site ID this post was made on.
Type: ActiveQuery
Entry (opens new window) this post was made on.
Type: string|null
The class name of the element this post was made on.
Type: array|null
Serialized content that was used to send out this post.
Type: bool|null
Boolean whether the post was successfully sent to social media platforms.
Type: array|null
A short response from the social media provider.
Type: array|null
A full response from the social media provider.
Methods
Returns: verbb\socialposter\base\AccountInterface|null
Returns the account this post was made from.