wpseek.com
A WordPress-centric search engine for devs and theme authors



print_embed_styles › WordPress Function

Since4.4.0
Deprecatedn/a
print_embed_styles ( No parameters )
Defined at:
Codex:

Prints the CSS in the embed iframe header.



Source

function print_embed_styles() {
	$type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"';
	$suffix    = SCRIPT_DEBUG ? '' : '.min';
	?>
	<style<?php echo $type_attr; ?>>
		<?php echo file_get_contents( ABSPATH . WPINC . "/css/wp-embed-template$suffix.css" ); ?>
	</style>
	<?php
}