0

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 ??

4
  • Why do you want to do this? It's important for performance. Oct 23, 2019 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, 2019 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. Oct 23, 2019 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, 2019 at 12:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.