wp embed handler

Retrieves embed handlers.

Subcommands

Command Description
wp embed handler list Lists all available embed handlers.

wp embed handler list

Lists all available embed handlers.

Synopsis

wp embed handler list [--field=<field>] [--fields=<fields>] [--format=<format>]

Options

[–field=<field>]
: Display the value of a single field.

[–fields=<fields>]
: Limit the output to specific fields.

[–format=<format>]
: Render output in a particular format.

  • default: table
  • options: table, csv, json

Available Fields

Default fields:

  • id
  • regex

Optional fields:

  • callback
  • priority

Examples

# List id,regex,priority fields of available handlers.
$ wp embed handler list --fields=priority,id
+----------+-------------------+
| priority | id                |
+----------+-------------------+
| 10       | youtube_embed_url |
| 9999     | audio             |
| 9999     | video             |