TestShortcodeCollection.

Add<TShortcode>(string) Method

Summary

Adds a shortcode by type.

Syntax

public void Add<TShortcode>(string name) where TShortcode : IShortcode

Type Parameters

Name Description
TShortcode The type of the shortcode to add.

Parameters

Name Type Description
name string The name of the shortcode.

Return Value

Type Description
void
GitHub