Skip to content

Commit

Permalink
Improved doc block
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed Jul 10, 2020
1 parent 42e0212 commit 29f88e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Extend/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
class Post implements ExtenderInterface
{
/**
* Register a new post type. This is generally done for custom 'event posts',
* such as those that appear when a discussion is renamed.
*
* @param string $postType: The ::class attribute of the custom Post type that is being added.
*/
public function type($postType)
Expand Down

0 comments on commit 29f88e1

Please sign in to comment.