Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_iframe ›

Desde2.5.0
Obsoleton/a
wp_iframe ( $content_func )
Parâmetros:
  • (string|callable) $content_func
    Required: Yes
Definido em:
Codex:

Adds the iframe to display content for the media upload page



Fonte

function wp_iframe( $content_func /* ... */ ) {
	_wp_admin_html_begin();
?>
<title><?php bloginfo( 'name' ); ?> &rsaquo; <?php _e( 'Uploads' ); ?> &#8212; <?php _e( 'WordPress' ); ?></title>
<?php

wp_enqueue_style( 'colors' );
// Check callback name for 'media'
if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) )
	|| ( ! is_array( $content_func ) && 0 === strpos( $content_func, 'media' ) ) ) {
	wp_enqueue_style( 'deprecated-media' );
}