Today I delete all oembed records by postmeta where meta_key like '_oembed%'

after 5 mins, check again the table, magic, the wordpress started to insert _oembed records again (9857 total)...

Can someone tell how can I disable this ??

  • Why do you want to do this? It's important for performance. – Jacob Peattie Oct 23 '19 at 0:04
  • I would like to disable completely the oEmbed. The WP will get performance once is not writing to _postmeta table... – Zakari Oct 23 '19 at 6:45
  • Do you want to disable the oembed cache or oembed entirely? They're different things and you need to be precise. Disabling the cache without disabling oembed will cause big performance problems. – Jacob Peattie Oct 23 '19 at 7:31
  • yes please, I would like to disable the oembed entirely. Can you guide me as I couldnt find such information around web. FYI Before I delete the records described above^ to main post, I applied to functions.php these. – Zakari Oct 23 '19 at 12:01

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.