WordPress oEmbed Funktion abschalten

  1. Access your WordPress dashboard.
  2. Navigate to the "Appearance" menu and select "Editor."
  3. Locate the "functions.php" file on the right-hand side and click to open it.
  4. Add the following code snippet at the end of the file:
add_filter('embed_oembed_discover', '__return_false');
add_filter('embed_oembed_html', '__return_false', 10);
add_filter('oembed_dataparse', '__return_false', 10);
add_filter('oembed_result', '__return_false', 10);
  1. Click the "Update File" button to save your changes.