Elementor\Widget_Icon_List::render PHP Method

render() protected method

protected render ( )
    protected function render()
    {
        $settings = $this->get_settings();
        ?>
		<ul class="elementor-icon-list-items">
			<?php 
        foreach ($settings['icon_list'] as $item) {
            ?>
				<li class="elementor-icon-list-item" >
					<?php 
            if (!empty($item['link']['url'])) {
                $target = $item['link']['is_external'] ? ' target="_blank"' : '';
                echo '<a href="' . $item['link']['url'] . '"' . $target . '>';
            }
            if ($item['icon']) {
                ?>
						<span class="elementor-icon-list-icon">
							<i class="<?php 
                echo esc_attr($item['icon']);
                ?>
"></i>
						</span>
					<?php 
            }
            ?>
					<span class="elementor-icon-list-text"><?php 
            echo $item['text'];
            ?>
</span>
					<?php 
            if (!empty($item['link']['url'])) {
                echo '</a>';
            }
            ?>
				</li>
				<?php 
        }
        ?>
		</ul>
		<?php 
    }