'phone-number', 'label' => 'Phone number', ), array( 'service' => 'address', 'label' => 'Address', ), ); foreach ( $new_methods as $method ) { if( ! isset( $contact_methods[$method['service']] ) ) { $contact_methods[$method['service']] = $method['label']; } } return $contact_methods; } }