From edfa448396484770a419ac7a17b0ec194ae76654 Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Thu, 4 Apr 2024 17:42:03 +0545 Subject: [PATCH] Update examples for embed commands (#75) * Update docs and examples * Update readme to accommodate new changes in docs * Fix CS error --- README.md | 61 ++++++++++++++++++++++++++++++++++++++++ src/Cache_Command.php | 16 +++++++++++ src/Embeds_Namespace.php | 29 +++++++++++++++++++ src/Fetch_Command.php | 2 +- src/Handler_Command.php | 13 +++++++++ src/Provider_Command.php | 17 +++++++++++ 6 files changed, 137 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aa6c2ed..64db3c3 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,34 @@ 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 +