Figured it out.
Embed shortcode stores the oemebd data as post meta using md5 hash.
wp-includes/class-wp-embed.php
// Check for a cached result (stored in the post meta)
$key_suffix = md5( $url . serialize( $attr ) );
$cachekey = '_oembed_' . $key_suffix;
$cachekey_time="_oembed_time_" . $key_suffix;
And has a cache mechanism to fetch new data only after a day.
I deleted the post meta and then it started working.
Related Posts:
- Get first video from the post (both embed and video shortcodes)
- Set wmode attribute to transparent for the embed shortcode to make drop-down menu hover over YouTube embed in Internet Explorer
- How to apply an ID to Shortcode Embedded iframe
- Responsive Embeds using default embed shortcode
- Auto embeds don’t work for attachment descriptions
- TED talks shortcode not working
- Video embeds work in backend, but are not parsed in frontend
- Shortcode to Gutenberg-block: additional text on front-end and conditional display
- How to save a shortcode in a Gutenberg custom block?
- Disable oEmbed for a Single Shortcode or at Least All Internal Links
- gutenberg widget outputting paragraph marks
- Gist shortcode is not working
- is_admin() returns false in save_post hook with Gutenberg editor
- Embedding Instagram via shortcode doesn’t work as advertised in official docs
- Wrap shortcode inside custom block
- How to create a shortcode for embedding pdf in iframe?
- Responsive embed for the video shortcode
- Hook WP_Embed run_shortcode
- How to register a embed handler as a fallback to a oEmbed handler?
- Detecting embeded video format
- Gutenberg Block with Select from JSON-File
- add action only if gallery shortcode attribute is equal to?
- Specifying a single file from multi-file GIST (wordpress.com) [closed]
- Gutenberg Shortcode Fail
- Gutenberg Shortcode Chooser Block
- Is there any way to set the Featured image in wordpress post editor, using a Getty images embed code
- Gutenberg Shortcode will turn html to html entity
- Gutenberg running code only available in front end within shortcode
- How to modify the HTML output of Gutenberg block? (Youtube)
- Shortcode, vs blocks, vs templates – what would you do for choosing or creating custom post data in editor?
- How to use code in an editor block?
- How to Enable embedding WordPress default gallery in comments?
- Do embed shortcode on wordpress ajax request
- Inserting a variable into a shortcode inside php
- How to stop unwanted splits in excerpts when using shortcodes for sliders or players
- Can’t get default values to work with custom shortcode
- Display a block conditionally based on user input button
- How can I remove the wp_autop filter from a shortcode block in a block theme page template (twenty twenty-three)?
- Not allowing my site to be embedded elsewhere via oEmbed
- WordPress plugin shortcode not working
- the_excerpt and shortcodes
- Get current post id witout passing in shortcode
- How do I create a Shortcode that returns text if domain is .com, not .co.uk
- Remove specific shortcode from get_the_content()
- Autoembeds don’t work with paragraphs
- How to Output HTML tags in do_shortcode?
- Nested Shortcode Detection
- Get all posts containing a shortcode
- How to display html in a shortcode
- Custom form, shortcode, and submit handler
- Automatically add this attribute to the gallery shortcode
- Videos via the video shortcode are always 640px wide?
- How to use get_media_embedded_in_content function
- Custom Shortcode and Button not Working after 3.9 update
- Hide Default Video Shortcode Controls on PageLoad
- shortcode not working [closed]
- Do not show child pages of child pages
- How to: How do I make my own shortcodes without plugins?
- Adding span tags within wp_list_pages list items
- Change font-size within a shortcode
- How can I show the Jetpack Subscriptions form in a page? [closed]
- Splitting Shortcode Attributes not working
- How to add oEmbed support to my theme?
- getting values from a shortcode with an include
- Create a shortcode in WordPress, again
- Stop WordPress editor embedding links
- How to make shortcode output display where I choose
- Add Shortcode to a Div or Header [closed]
- change wordpress gallery shortcode to slider
- Change link in get_terms if there is only one post in the category
- How to get total number of shortcodes in the wordpress application?
- How to change the page break numbering?
- Allow shortcode in the author bio textarea
- WordPress display image link in shortcode
- extra text in Vimeo Embedded videos
- How do I combine my shortcodes?
- Bulk converting shortcodes to blocks with embeds
- Add custom setting that uses radio button to WP Gallery
- Shortcode with hyphen doesn’t work
- Shortcode parsed incorrectly because of heredoc
- WordPress Gallery shortcode: Display one category ID only
- How to get gallery id inserted to a post?
- WordPress Shortcode show database row
- Shortcode “post_per_page” not working
- Shortcode is running in page editor
- Creating shortcode with parameter
- Video Shortcodes not working in WordPress
- Custom shortcode is not working in text widget
- Shortcodes won’t work on live environment
- Create shortcode in Child Theme?
- Get post object in shortcode function
- How to insert image and text from admin panel throughout my theme
- Create a short code to display a specific loop
- Use shortcodes in terms description? [closed]
- Adding to the_content or a variable from within a shortcode function
- How to add shortcode to HTML file (not showing on website)
- Custom Shortcode: define cursor position/insertion point?
- Shortcode: text content ends up outside html tags
- How can I remove the first video from a post and feature it?
- How to wp_redirect on ‘init’ hook on condition of current post id?