Skip to content

Commit b2d5d12

Browse files
committed
Create Post::thumbnail method to get the thumbnail HTML
1 parent ea1ecca commit b2d5d12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PostTypes/Post.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,9 @@ public function parent()
135135
{
136136
return $this->parent;
137137
}
138+
139+
public function thumbnail()
140+
{
141+
return $this->thumbnail;
142+
}
138143
}

0 commit comments

Comments
 (0)