Content plugins are usually added into the Joomla articles to load images galleries or any related plugins. But you may even think of loading Joomla content plugin work inside a Joomla Custom HTML Module. Making a content plugin work inside a Joomla custom module is quite simple. The following setups will definitely help you.
Check the plugin is installed and set up correctly. Make sure that you have enabled the plugin.
Copy the plugin code into the custom module.
Please check that the prepare content is set to “YES” in the basic options of the Custom HTML Module module parameters.
Activate the module in a module position to see the plugin loading inside the Module.