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>

void
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

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

Parameters

Container $container
Extension $extension

Return Value

void