In the answer to "How does WP detect format type (and can I make use of this)?" a method is given for detecting block type.

If I passed in the result of, say, $out = wp_oembed_get($href); would that work or is there something else needed to make the return value of wp_oembed_get a valid block?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.