wphooks.info - oembed_response_data

oembed_response_data

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/embed.php:
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
	/**
	 * Filters the oEmbed response data.
	 *
	 * @since 4.4.0
	 *
	 * @param array   $data   The response data.
	 * @param WP_Post $post   The post object.
	 * @param int     $width  The requested width.
	 * @param int     $height The calculated height.
	 */
	return apply_filters( 'oembed_response_data', $data, $post, $width, $height );
}


/**
 * Retrieves the oEmbed response data for a given URL.
 *
 * @since 5.0.0
 *
 * @param string $url  The URL that should be inspected for discovery `<link>` tags.