How to get fields by section

wpccf_get_custom_fields_by_flag – this function will retrieve list of fields by specified section

$section – specify your section here.

1
2
$section = 'shipper_info';
$shipper_fields = wpccf_get_custom_fields_by_flag($section);

Sample output

Shipper Fields