FrenchMarie Posted September 9, 2021 Share Posted September 9, 2021 Hello, I am coming to you following the creation of a small module which will have a function in the administrator. I created 3 files which included the hook file which called the include.php file, the module in itself works fine, however I will perhaps make it public and for that I need to retrieve some information from the configuration of the module. Let me explain, I set up a field for the choice of the language, the recording works perfectly. However I need to retrieve the value in the include.php file at the root of the module, for example the {$ Language} shortcode. Thanks in advance for the help and advice 0 Quote Link to comment Share on other sites More sharing options...
string Posted September 10, 2021 Share Posted September 10, 2021 You can receive the module configuration via the \WHMCS\Module\Addon\Setting class: https://classdocs.whmcs.com/8.2/WHMCS/Module/Addon/Setting.html Alternatively you can find the module configuration values in the database table tbladdonmodules. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.