oembed_result, _wp_oembed_get_object(

oembed_result, _wp_oembed_get_object(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('oembed_result, _wp_oembed_get_object(') is found 1 times:

  • /wp-includes/class-wp-oembed-controller.php line 226
    			return new WP_Error( 'oembed_invalid_url', get_status_header_desc( 404 ), array( 'status' => 404 ) );
    		}
    
    		/** This filter is documented in wp-includes/class-wp-oembed.php */
    		$data->html = apply_filters( 'oembed_result', _wp_oembed_get_object()->data2html( (object) $data, $url ), $url, $args );
    
    		/**
    		 * Filters the oEmbed TTL value (time to live).
    		 *
    		 * Similar to the {@see 'oembed_ttl'} filter, but for the REST API
    		 * oEmbed proxy endpoint.