in Tips and Tricks, WordPress

Embed in WordPress Outside of Editor or Content

Embed anything in wordpress is so easy, just paste the url in the editor and check the preview. WordPress automatically parse url in the content of the editor and embed almost near 20+ urls from social media audio, video, links etc. Here is a list of available auto embed links or services. But how about if we need to embed or parse any url outside of wordpress editor or inside theme or plugin custom code ? It’s just easy. Just check the following code snippet