I want to use your Customer Attributes in scripts/customizations. How may I get their values from the code?
To get the Customer Attributes values from the code, you may use the strings provided below:
$сustomerRepository = $objectManager->get('Magento\Customer\Api\CustomerRepositoryInterface');
$сustomer = $сustomerRepository->getById();
$сustomer->getCustomAttribute('')->getValue()