File: class-oembed.php

package info (click to toggle)
wordpress 6.1.6%2Bdfsg1-0%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 124,200 kB
  • sloc: javascript: 423,155; php: 261,916; cs: 6,126; sh: 457; xml: 59; makefile: 14
file content (15 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * API for fetching the HTML to embed remote content based on a provided URL.
 *
 * This file is deprecated, use 'wp-includes/class-wp-oembed.php' instead.
 *
 * @deprecated 5.3.0
 * @package WordPress
 * @subpackage oEmbed
 */

_deprecated_file( basename( __FILE__ ), '5.3.0', WPINC . '/class-wp-oembed.php' );

/** WP_oEmbed class */
require_once ABSPATH . WPINC . '/class-wp-oembed.php';