wordpress/wp-content/themes/basic/themify/megamenu/class-mega-menu.php
/**
		 * Render a Layout Part inside menu
		 *
		 * $depth level
		 * $class_names additional CSS classes to add to the menu wrapper
		 * @return string
		 */
Render a Layout Part inside menu
$depth level
$class_names additional CSS classes to add to the menu wrapper
@return string
Render a Layout Part inside menu $depth level $class_names additional CSS classes to add to the menu wrapper @return string
function render_layout_part( $item, $depth, $class_names = '' ) {
			$output = '';
			if( $depth === 0 ) {
				$title = apply_filters( 'the_title', $item->title, $item->ID );
				$output = "<li $class_names><a href='#'>" . $title . '<span class="child-arrow"></span></a><ul class="sub-menu tf_box">';
			}
			$output .= '<li class="themify-widget-menu">' . do_shortcode( sprintf( '[themify_layout_part id="%s"]', $item->object_id ) ) . '';
			if(  $depth === 0 ) {
				$output .= '</ul>';
			}
			return $output;
		}
function render_layout_part ( $ item , $ depth , $ class_names = '' ) { $ output = '' ; if ( $ depth === 0 ) { $ title = apply_filters ( 'the_title' , $ item -> title , $ item -> ID ) ; $ output = " <li  $ class_names ><a href='#'> " . $ title . '<span class="child-arrow"></span></a><ul class="sub-menu tf_box">' ; } $ output .= '<li class="themify-widget-menu">' . do_shortcode ( sprintf ( '[themify_layout_part id="%s"]' , $ item -> object_id ) ) . '' ; if ( $ depth === 0 ) { $ output .= '</ul>' ; } return $ output ; }
Render a Layout Part inside menu
 $depth level
 $class_names additional CSS classes to add to the menu wrapper
 @return string
Render a Layout Part inside menu $depth level $class_names additional CSS classes to add to the menu wrapper @return string