class Post implements ExtenderInterface

Methods

type(string $postType)

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

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

No description

Details

Post type(string $postType)

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

Parameters

string $postType

Return Value

Post

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

Parameters

Container $container
Extension|null $extension

Return Value

void