%s', esc_html( $field['label'] ) );
break;
case 'paragraph':
printf( '
%s
', wp_kses_post( $field['content'] ?? $field['label'] ) );
break;
case 'separator':
echo '
';
break;
case 'section':
// Collapses all following fields until the next section (see shapeoptions-frontend.js).
printf(
'',
esc_html( $field['label'] )
);
break;
}
}
/**
* Static fields carry no value.
*
* @return bool
*/
public function has_value() {
return false;
}
}
endif;