345
345
function wp_oembed_add_discovery_links() {
349
349
$output .= '<link rel="alternate" type="application/json+oembed" href="' . esc_url( get_oembed_endpoint_url( get_permalink() ) ) . '" />' . "\n";
351
351
if ( class_exists( 'SimpleXMLElement' ) ) {