PHPackages                             wp-cli/embed-command - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. wp-cli/embed-command

ActiveWp-cli-package[CLI &amp; Console](/categories/cli)

wp-cli/embed-command
====================

Inspects oEmbed providers, clears embed cache, and more.

v2.1.1(3mo ago)87.0M↑19.8%11[1 issues](https://github.com/wp-cli/embed-command/issues)[1 PRs](https://github.com/wp-cli/embed-command/pulls)3MITGherkinCI passing

Since Jan 22Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/wp-cli/embed-command)[ Packagist](https://packagist.org/packages/wp-cli/embed-command)[ Docs](https://github.com/wp-cli/embed-command)[ RSS](/packages/wp-cli-embed-command/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (27)Used By (3)

wp-cli/embed-command
====================

[](#wp-cliembed-command)

Inspects oEmbed providers, clears embed cache, and more.

[![Testing](https://github.com/wp-cli/embed-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/embed-command/actions/workflows/testing.yml) [![Code Coverage](https://camo.githubusercontent.com/5c947632b7febc40528d4344f36f492402c7776f189960cf79c875160af29ea9/68747470733a2f2f636f6465636f762e696f2f67682f77702d636c692f656d6265642d636f6d6d616e642f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/wp-cli/embed-command/tree/main)

Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)

Using
-----

[](#using)

This package implements the following commands:

### wp embed

[](#wp-embed)

Inspects oEmbed providers, clears embed cache, and more.

```
wp embed

```

**EXAMPLES**

```
# Get embed HTML for a given URL.
$ wp embed fetch https://www.youtube.com/watch?v=dQw4w9WgXcQ
