true, ) ); add_action( 'admin_enqueue_scripts', array( $this, 'widget_scripts' ) ); } /** * Enqueue Widget Scripts * * @param $hook */ function widget_scripts() { wp_enqueue_media(); wp_enqueue_script( 'zerif_widget_media_script', THEMEISLE_COMPANION_URL . 'assets/js/widget-media.js', false, '1.1', true ); } /** * Display Widget * * @param $args * @param $instance */ function widget( $args, $instance ) { extract( $args ); echo $before_widget; ?>
<?php echo $alt; ?>









>


get_field_name( 'image_in_customizer' ); ?> <?php echo __( 'Uploaded image', 'themeisle-companion' ); ?>