ShortcodeHandler
interface ShortcodeHandler (View source)
Abstract interface for a class which handles shortcodes
Methods
public static
string
handle_shortcode(array $arguments, string $content, ShortcodeParser $parser, string $shortcode, array $extra = [])
Generate content with a shortcode value
Details
static mixed
get_shortcodes()
Gets the list of shortcodes provided by this handler
static string
handle_shortcode(array $arguments, string $content, ShortcodeParser $parser, string $shortcode, array $extra = [])
Generate content with a shortcode value