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

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

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

Parameters

Container $container
Extension $extension