• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
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:346

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:396

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:254

Used by 2 functions | Uses 2 functions

WP_oEmbed::_add_provider_early()

Method: Adds an oEmbed provider.

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

Used by 1 function | Uses 0 functions

WP_oEmbed::_remove_provider_early()

Method: Removes an oEmbed provider.

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

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:445

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:230

Used by 0 functions | Uses 0 functions

oembed_dataparse

Filter Hook: Filters the returned oEmbed HTML.

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

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:740

Used by 0 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:429

Used by 1 function | Uses 7 functions

oembed_linktypes

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

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

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:522

Used by 1 function | Uses 7 functions

oembed_fetch_url

Filter Hook: Filters the oEmbed URL to be fetched.

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

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:562

Used by 1 function | Uses 7 functions

WP_oEmbed::_parse_json()

Method: Parses a json response body.

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

Used by 0 functions | Uses 0 functions

WP_oEmbed

Class: Core class used to implement oEmbed functionality.

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

Used by 0 functions | Uses 0 functions

WP_oEmbed::_parse_xml()

Method: Parses an XML response body.

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

Used by 0 functions | Uses 1 function

WP_oEmbed::__construct()

Method: Constructor.

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

Used by 1 function | Uses 4 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:635

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:215

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:678

Used by 1 function | Uses 5 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:378

Used by 0 functions | Uses 5 functions

oembed_result

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

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

Used by 2 functions | Uses 0 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • 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
Code is Poetry