print_embed_styles()WP 4.4.0

Deprecated since 6.4.0. It is no longer supported and may be removed in future releases. Use wp_enqueue_embed_styles() instead.

Prints the CSS in the embed iframe header.

No Hooks.

Returns

null. Nothing (null).

Usage

print_embed_styles();

Changelog

Since 4.4.0 Introduced.
Deprecated since 6.4.0 Use wp_enqueue_embed_styles() instead.

print_embed_styles() code WP 7.0

<?php
function print_embed_styles() {
	_deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_embed_styles' );

	$suffix = SCRIPT_DEBUG ? '' : '.min';
	?>
	<style>
		<?php echo file_get_contents( ABSPATH . WPINC . "/css/wp-embed-template$suffix.css" ); ?>
	</style>
	<?php
}