wordpress/wp-content/themes/basic/themify/themify-metabox/includes/themify-field-types.php
/**
 * Generates separator
 *
 * @param array $args Field settings
 * @param bool  $call_before_after Whether to output common wrapping markup before and after the field
 * @param bool  $echo Whether to echo or return the field
 *
 * @since 1.3.2
 * @return string
 */
Generates separator
@param array $args Field settings
@param bool  $call_before_after Whether to output common wrapping markup before and after the field
@param bool  $echo Whether to echo or return the field


Generates separator @param array $args Field settings @param bool $call_before_after Whether to output common wrapping markup before and after the field @param bool $echo Whether to echo or return the field
function themify_meta_field_separator( $args ) {
	$meta_box = $args['meta_box'];
	extract($args, EXTR_OVERWRITE);
	$toggle_class = isset( $args['toggle_class'] ) ? $args['toggle_class'] : '';
	$ext_attr = isset( $args['ext_attr'] ) ? $args['ext_attr'] : '';
	$html = isset($meta_box['meta']['html']) && '' != $meta_box['meta']['html']? $meta_box['meta']['html'] : '<hr class="meta_fields_separator" />';
	$html .= isset( $meta_box['description'] )? themify_meta_field_get_description($meta_box['description']) : '';
	$out = '<div class="themify_field_row tf_clearfix ' . esc_attr( $toggle_class ) . '" ' . esc_attr( $ext_attr );
	if ( isset( $args['data_hide'] ) && ! empty( $args['data_hide'] ) ) {
		$out .= ' data-hide="' . esc_attr( $args['data_hide'] ) . '"';
	}
	$out .= '>' . $html . '</div>';
	echo $out;
}
function themify_meta_field_separator ( $ args ) { $ meta_box = $ args [ 'meta_box' ] ; extract ( $ args , EXTR_OVERWRITE ) ; $ toggle_class = isset ( $ args [ 'toggle_class' ] ) ? $ args [ 'toggle_class' ] : '' ; $ ext_attr = isset ( $ args [ 'ext_attr' ] ) ? $ args [ 'ext_attr' ] : '' ; $ html = isset ( $ meta_box [ 'meta' ] [ 'html' ] ) && '' != $ meta_box [ 'meta' ] [ 'html' ] ? $ meta_box [ 'meta' ] [ 'html' ] : '<hr class="meta_fields_separator" />' ; $ html .= isset ( $ meta_box [ 'description' ] ) ? themify_meta_field_get_description ( $ meta_box [ 'description' ] ) : '' ; $ out = '<div class="themify_field_row tf_clearfix ' . esc_attr ( $ toggle_class ) . '" ' . esc_attr ( $ ext_attr ) ; if ( isset ( $ args [ 'data_hide' ] ) && ! empty ( $ args [ 'data_hide' ] ) ) { $ out .= ' data-hide="' . esc_attr ( $ args [ 'data_hide' ] ) . '"' ; } $ out .= '>' . $ html . '</div>' ; echo $ out ; }
Generates separator
 @param array $args Field settings
 @param bool  $call_before_after Whether to output common wrapping markup before and after the field
 @param bool  $echo Whether to echo or return the field
Generates separator @param array $args Field settings @param bool $call_before_after Whether to output common wrapping markup before and after the field @param bool $echo Whether to echo or return the field