wp_print_media_templates() – Prints the templates used in the media manager.

You appear to be a bot. Output may be restricted

Description

Prints the templates used in the media manager.

Usage

wp_print_media_templates();

Parameters

Returns

void

Source

File name: wordpress/wp-includes/media-template.php
Lines:

1401 to 1415 of 1415
    <strong aria-hidden="true"><?php _e( 'As an app icon' ); ?></strong>
		<div class="app-icon-preview">
			<img id="preview-app-icon" src="{{ data.url }}" alt="<?php esc_attr_e( 'Preview as an app icon' ); ?>" />
		</div>
	</script>

	<?php

  
/**
 * Fires when the custom Backbone media templates are printed.
 *
 * @since 3.5.0
 */
  do_action( 'print_media_templates' );
}
 

 View on GitHub View on Trac