WP_Widget_Medi8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts()  Render form template scripts.   Source  File: wp-includes/widgets/class-wp-widget-media.php. View all references  public function render_control_template_scripts() {
	?>
	<script type="text/html" id="tmpl-widget-media-<?php echo esc_attr( $this->id_base ); ?>-control">
		<# var elementIdPrefix = 'el' + String( Math.random() ) + '_' #>
		<p>
			<label for="{{ elementIdPrefix }}title"><?php esc_html_e( 'Title:' ); ?></label>
			<input id="{{ elementIdPrefix }}title" type="text" class="widefat title">
		</p>
		<div class="media-widget-preview <?php echo esc_attr( $this->id_base ); ?>">
			<div class="attachment-media-view">
				<button type="button" class="select-media button-add-media not-selected">
					<?php echo esc_html( $this->l10n['add_media'] ); ?>
				</button>
			</div>
		</div>
		<p class="media-widget-buttons">
			<button type="button" class="button edit-media selected">
				<?php echo esc_html( $this->l10n['edit_media'] ); ?>
			</button>
		<?php if ( ! empty( $this->l10n['replace_media'] ) ) : ?>
			<button type="button" class="button change-media select-media selected">
				<?php echo esc_html( $this->l10n['replace_media'] ); ?>
			</button>
		<?php endif; ?>
		</p>
		<div class="media-widget-fields">
		</div>
	</script>
	<?php
}
   Related  Uses    Uses Description      esc_html_e() wp-includes/l10n.php   Displays translated text that has been escaped for safe use in HTML output.     esc_attr() wp-includes/formatting.php   Escaping for HTML attributes.     esc_html() wp-includes/formatting.php   Escaping for HTML blocks.   
   Used By    Used By Description      WP_Widget_Media_Gallery8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-media-gallery.php   Render form template scripts.     WP_Widget_Media_Audio8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-media-audio.php   Render form template scripts.     WP_Widget_Media_Video8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-media-video.php   Render form template scripts.     WP_Widget_Media_Imag8b7c:f320:99b9:690f:4595:cd17:293a:c069render_control_template_scripts() wp-includes/widgets/class-wp-widget-media-image.php   Render form template scripts.   
    Changelog    Version Description     4.8.0 Introduced.    

    
{'path': 'public/docs/wordpress/classes/wp_widget_media/render_control_template_scripts.html', 'source': 'DevDocs.IO'}