Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

Browse: Home / Reference / wp-includes/class-wp-oembed.php

WP_oEmbed::get_data()

Method: Takes a URL and attempts to return the oEmbed data.

Source: wp-includes/class-wp-oembed.php:348

Used by 1 function | Uses 3 functions

pre_oembed_result

Filter Hook: Filters the oEmbed result before any HTTP requests are made.

Source: wp-includes/class-wp-oembed.php:398

Used by 1 function | Uses 0 functions

WP_oEmbed::get_provider()

Method: Takes a URL and returns the corresponding oEmbed provider’s URL, if there is one.

Source: wp-includes/class-wp-oembed.php:256

Used by 2 functions | Uses 2 functions

WP_oEmbed::_add_provider_early()

Method: Adds an oEmbed provider.

Source: wp-includes/class-wp-oembed.php:305

Used by 1 function | Uses 0 functions

WP_oEmbed::_remove_provider_early()

Method: Removes an oEmbed provider.

Source: wp-includes/class-wp-oembed.php:328

Used by 1 function | Uses 0 functions

oembed_remote_get_args

Filter Hook: Filters oEmbed remote get arguments.

Source: wp-includes/class-wp-oembed.php:447

Used by 2 functions | Uses 0 functions

WP_oEmbed::__call()

Method: Exposes private/protected methods for backward compatibility.

Source: wp-includes/class-wp-oembed.php:232

Used by 0 functions | Uses 0 functions

oembed_dataparse

Filter Hook: Filters the returned oEmbed HTML.

Source: wp-includes/class-wp-oembed.php:728

Used by 1 function | Uses 0 functions

WP_oEmbed::_strip_newlines()

Method: Strips any new lines from the HTML.

Source: wp-includes/class-wp-oembed.php:742

Used by 0 functions | Uses 0 functions

WP_oEmbed

Class: Core class used to implement oEmbed functionality.

Source: wp-includes/class-wp-oembed.php:20

Used by 0 functions | Uses 0 functions

WP_oEmbed::_parse_xml()

Method: Parses an XML response body.

Source: wp-includes/class-wp-oembed.php:603

Used by 0 functions | Uses 1 function

WP_oEmbed::__construct()

Method: Constructor.

Source: wp-includes/class-wp-oembed.php:51

Used by 1 function | Uses 3 functions

WP_oEmbed::_parse_xml_body()

Method: Serves as a helper function for parsing an XML response body.

Source: wp-includes/class-wp-oembed.php:637

Used by 1 function | Uses 0 functions

oembed_providers

Filter Hook: Filters the list of sanctioned oEmbed providers.

Source: wp-includes/class-wp-oembed.php:217

Used by 1 function | Uses 0 functions

WP_oEmbed::data2html()

Method: Converts a data object from WP_oEmbed::fetch() and returns the HTML.

Source: wp-includes/class-wp-oembed.php:680

Used by 1 function | Uses 4 functions

WP_oEmbed::get_html()

Method: The do-it-all function that takes a URL and attempts to return the HTML.

Source: wp-includes/class-wp-oembed.php:380

Used by 0 functions | Uses 3 functions

oembed_result

Filter Hook: Filters the HTML returned by the oEmbed provider.

Source: wp-includes/class-wp-oembed.php:420

Used by 2 functions | Uses 0 functions

WP_oEmbed::discover()

Method: Attempts to discover link tags at the given URL for an oEmbed provider.

Source: wp-includes/class-wp-oembed.php:431

Used by 1 function | Uses 5 functions

oembed_linktypes

Filter Hook: Filters the link types that contain oEmbed provider URLs.

Source: wp-includes/class-wp-oembed.php:463

Used by 1 function | Uses 0 functions

WP_oEmbed::fetch()

Method: Connects to a oEmbed provider and returns the result.

Source: wp-includes/class-wp-oembed.php:524

Used by 1 function | Uses 6 functions

oembed_fetch_url

Filter Hook: Filters the oEmbed URL to be fetched.

Source: wp-includes/class-wp-oembed.php:543

Used by 1 function | Uses 0 functions

WP_oEmbed::_fetch_with_format()

Method: Fetches result from an oEmbed provider for a specific format and complete provider URL

Source: wp-includes/class-wp-oembed.php:564

Used by 1 function | Uses 6 functions

WP_oEmbed::_parse_json()

Method: Parses a json response body.

Source: wp-includes/class-wp-oembed.php:590

Used by 0 functions | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry