# wpdirectorykit/1.2.7/elementor-elements/views/wdk-field-icon.php

WP Directory Kit, version 1.2.7. 19 lines.

- Page: https://pluginprobe.com/plugins/wpdirectorykit/1.2.7/code/elementor-elements/views/wdk-field-icon.php
- Raw: https://pluginprobe.com/plugins/wpdirectorykit/1.2.7/raw/elementor-elements/views/wdk-field-icon.php
- Modified: 2023-10-17T19:27:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpdirectorykit/1.2.7/code/elementor-elements/views/wdk-field-icon.php#L10-L20`.

```php
<?php
/**
 * The template for Element Listing Field Icon.
 * This is the template that elementor element icon, img
 *
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?>
<div class="wdk-element" id="wdk_el_<?php echo esc_html($id_element);?>">
    <div class="wdk-field-icon">
        <img src="<?php echo esc_url(wdk_image_src(array('icon_id' => $field_icon), 'full', NULL, 'icon_id'));?>" alt="<?php echo wdk_image_alt($field_icon);?>">
    </div>
</div>


```
