# wpdirectorykit/1.3.4/elementor-elements/views/wdk-tabs.php

WP Directory Kit, version 1.3.4. 24 lines.

- Page: https://pluginprobe.com/plugins/wpdirectorykit/1.3.4/code/elementor-elements/views/wdk-tabs.php
- Raw: https://pluginprobe.com/plugins/wpdirectorykit/1.3.4/raw/elementor-elements/views/wdk-tabs.php
- Modified: 2024-06-20T21:53:40+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.3.4/code/elementor-elements/views/wdk-tabs.php#L10-L20`.

```php
<?php
/**
 * The template for Element Listings Search Form.
 * This is the template that elementor element, fields, search form
 *
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?>

<div class="wdk-element" id="wdk_el_<?php echo esc_html($id_element);?>">
    <div class="wdk-tabs <?php if($is_edit_mode):?> is_edit_mode<?php endif;?>">
        <?php  if(!empty($settings['tabs'])) foreach ($settings['tabs'] as $key => $tab):?>
            <a href="#" class="tab <?php echo esc_html(wmvc_show_data('tab_css_class',$tab));?>" data-target="<?php echo esc_html(wmvc_show_data('tab_target',$tab));?>">
                <?php \Elementor\Icons_Manager::render_icon( $tab['tab_icon'], [ 'aria-hidden' => 'true' ] ); ?> <?php echo esc_html(wmvc_show_data('tab_name',$tab));?>
            </a>
        <?php endforeach ?>
    </div>
</div>


```
