Is it possible to make a plugin run something when a document is for example published, but only when the document is based on a specific template?
-
☆ A M B ☆
- 24,524 Posts
Sure, you can check for the document’s template before it does anything else and just not do anything if it’s not the right template.