wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



print_embed_styles › WordPress Function

Depuis4.4.0
Dépréciée6.4.0
print_embed_styles ( Pas de paramètres )
Défini(e) dans:
Codex:

Prints the CSS in the embed iframe header.



Source

function print_embed_styles() {
	_deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_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
}