class Post implements ExtenderInterface

Methods

type(string $postType)

<p>Register a new post type. This is generally done for custom 'event posts', such as those that appear when a discussion is renamed.</p>

extend(Container $container, Extension $extension = null)

No description

Details

Post type(string $postType)

<p>Register a new post type. This is generally done for custom 'event posts', such as those that appear when a discussion is renamed.</p>

Parameters

string $postType

Return Value

Post

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension