09/09/2015 at 1:24 pm
#346173
Participant
Hello Steven,
I want to select only the work type, and then show on the user profile only type work
if ($ atts ['show_addresses']) $ entry-> getAddressBlock (array ('format' => $ atts ['addr_format'], 'type' => 'work'));
As I can put the address input is single type work and in select not show me all types
cnHTML::field(
array(
'type' => 'select',
'class' => '',
'id' => 'address[' . $token . '][type]',
'options' => $addressTypes, (ONLY TYPE WORK)
'required' => FALSE,
'before' => '',
'label' => __( 'Address Type', 'connections' ),
'return' => FALSE,
),
$address->type
Thanks!
