Disable Embeds
Disable Embeds removes the WordPress oEmbed functionality that allows other sites to embed your posts and generates embed-related JavaScript. WordPress adds scripts for both embedding external content and allowing your content to be embedded elsewhere. If you do not use or need this functionality, disabling it removes unnecessary JavaScript, CSS, and reduces page size. The module removes the wp-embed script, oEmbed discovery links, and related REST API endpoints.