This is what I am using, please help:
function my_epl_add_details_fields($group) {
//print_r($group);
$cust_cats = array(
'cheap-houses' => 'Cheap House',
'homes' => 'Home',
'ranches' => 'Ranch',
'commercial-buildings' => 'Commercial buildings',
'industrial-buildings' => 'Industrial buildings',
'multi-family' => 'Multi family',
'mobile-homes' => 'Mobile homes',
'distressed' => 'Distressed',
'fix-n-flip' => 'Fix n flip',
'owner-finance-deals' => 'Owner finance deals',
'cashflow-n-rental' => 'Cashflow n rental',
'bulk-packages' => 'Bulk packages',
'new-construction' => 'New construction',
);
foreach( $group['fields'] as $i => $field ):
if( $field['name'] == 'property_category' ):
$group['fields'][$i]['type'] = 'checkbox'; // addding custom categories required by LandCentury
$group['fields'][$i]['opts'] = $cust_cats; // addding custom categories required by LandCentury
break;
endif;
endforeach;
return $group;
}
add_filter('epl_meta_groups_listing_type', 'my_epl_add_details_fields');
thank you