EmbedShortcodeProvider
class EmbedShortcodeProvider implements ShortcodeHandler (View source)
Provider for the [embed] shortcode tag used by the embedding service in the HTML Editor field.
Provides the html needed for the frontend and the editor field itself.
Methods
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 = array())
Embed shortcode parser from Oembed. This is a temporary workaround.
static string
embedForTemplate(Adapter $embed, array $arguments)
No description
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 = array())
Embed shortcode parser from Oembed. This is a temporary workaround.
Oembed class has been replaced with the Embed external service.