You may need to retrieve a value from Magento 2′s core_config_data table. This table typically stores configuration settings entered in the admin area. Use the following code to read the required value:

Loading a configuration value from the core_config_data table
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: