'. esc_html( $label ) .'
'; $output .= ''. esc_html( $preview['title'] ) .'
'; $output .= ''. esc_html( $preview['subtitle'] ) .'
'; $output .= '';
$placeholder_type = self::get_item_placeholder_type( $item_type );
if( 'standard' == $placeholder_type ){
$placeholder = get_theme_file_uri( '/muffin-options/svg/placeholders/'. $item_type .'.svg' );
$output .= '';
} elseif ( 'variable' == $placeholder_type ) {
// existing item or default value
if( isset( $item['fields'] ) ){
$item_style = str_replace( array( ',', ' ' ), '-', $item['fields']['style'] );
} else {
$item_style = 'grid';
}
$placeholder_dir = get_theme_file_uri( '/muffin-options/svg/select/'. $item_type .'/' );
$placeholder = $placeholder_dir . $item_style .'.svg';
$output .= '
';
}
$output .= ''. esc_html( $preview['number'] ) .'';
$output .= '
'. esc_html__('Category', 'mfn-opts') .':'. esc_html( $preview['category'] ) .'
'; $output .= '