Hello,
I want to overwrite wordpress plugin file with Sage
File is located under plugindirectory/filename.html.php
to be replaced in :
themedirectory/pluginpath/filename.html.php or blade php
I have googled for any solution , the only one found is for woocommerce
Thanks in advance
It depends on the plugin. Does the plugin in question use the WordPress template loading? Then the template can be overridden using a filter. Otherwise the plugin itself should offer a filter for the template path.
You can create a new issue on the plugin issue tracker and request filters for those templates:
Until the author has added this functionality, you can fork the plugin (on GitHub, private GitLab, or some other repository, depending on the deployment flow you are using), add the filters by yourself and use those filters in your e.g. theme or site plugin to let the plugin use your own, custom template files instead.