{"id":5936,"date":"2026-02-12T20:46:00","date_gmt":"2026-02-13T01:46:00","guid":{"rendered":"https:\/\/chubes.net\/?documentation=wp-embed-handler"},"modified":"2026-02-15T16:09:00","modified_gmt":"2026-02-15T21:09:00","slug":"wp-embed-handler","status":"publish","type":"documentation","link":"https:\/\/chubes.net\/docs\/wp-cli\/embed\/wp-embed-handler\/","title":{"rendered":"wp embed handler"},"content":{"rendered":"<p>Retrieves embed handlers.<\/p><h2 class=\"wp-block-heading\">Subcommands<\/h2><figure class=\"wp-block-table\"><table><thead><tr><th>Command<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>wp embed handler list<\/td><td>Lists all available embed handlers.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">wp embed handler list<\/h2><p>Lists all available embed handlers.<\/p><h3 class=\"wp-block-heading\">Synopsis<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\">wp embed handler list [--field=&lt;field&gt;] [--fields=&lt;fields&gt;] [--format=&lt;format&gt;]<\/code><\/pre><\/div><h3 class=\"wp-block-heading\">Options<\/h3><p><strong>[&#8211;field=&lt;field&gt;]<\/strong>\n: Display the value of a single field.<\/p><p><strong>[&#8211;fields=&lt;fields&gt;]<\/strong>\n: Limit the output to specific fields.<\/p><p><strong>[&#8211;format=&lt;format&gt;]<\/strong>\n: Render output in a particular format.<\/p><ul class=\"wp-block-list\"><li>default: table<\/li><li>options: table, csv, json<\/li><\/ul><h3 class=\"wp-block-heading\">Available Fields<\/h3><p>Default fields:<\/p><ul class=\"wp-block-list\"><li>id<\/li><li>regex<\/li><\/ul><p>Optional fields:<\/p><ul class=\"wp-block-list\"><li>callback<\/li><li>priority<\/li><\/ul><h3 class=\"wp-block-heading\">Examples<\/h3><div class=\"code-block-wrapper\"><div class=\"code-block-header\"><span class=\"code-block-language\">bash<\/span><button class=\"code-copy-btn\" aria-label=\"Copy code\"><svg><use href=\"https:\/\/chubes.net\/wp-content\/themes\/chubes\/assets\/icons\/chubes.svg#icon-copy\"><\/use><\/svg><\/button><\/div><pre data-chubes-enhanced class=\"wp-block-code language-bash\"><code class=\"language-bash\"># List id,regex,priority fields of available handlers.\n$ wp embed handler list --fields=priority,id\n+----------+-------------------+\n| priority | id                |\n+----------+-------------------+\n| 10       | youtube_embed_url |\n| 9999     | audio             |\n| 9999     | video             |<\/code><\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>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 [&#8211;field=&lt;field&gt;]&#8230;<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"footnotes":""},"tags":[],"project":[690],"project_type":[749],"class_list":["post-5936","documentation","type-documentation","status-publish","hentry","project-embed","project_type-wordpress-reference"],"project_info":{"id":591,"name":"WP-CLI","slug":"wp-cli"},"project_type_info":{"id":749,"name":"WordPress Reference","slug":"wordpress-reference"},"_links":{"self":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation\/5936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/types\/documentation"}],"version-history":[{"count":3,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation\/5936\/revisions"}],"predecessor-version":[{"id":9397,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/documentation\/5936\/revisions\/9397"}],"wp:attachment":[{"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/media?parent=5936"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/tags?post=5936"},{"taxonomy":"project","embeddable":true,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/project?post=5936"},{"taxonomy":"project_type","embeddable":true,"href":"https:\/\/chubes.net\/wp-json\/wp\/v2\/project_type?post=5936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}