Created
December 16, 2021 11:41
-
-
Save jonpontet/adbd2bba649d75a30c6b841e2f622fa2 to your computer and use it in GitHub Desktop.
How to get a module instance in PrestaShop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$module = Module::getInstanceByName('module_name'); | |
$module->functionName(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment