Is your feature request related to a problem? Please describe.
Yes, Now when we implemented the promote imagify feature, we added the whole code inside plugin family controller.
Now if we needed to promote any other plugin we will duplicate the code or use the existing code but inside the same controller, so we need to find a way to refactor this a bit to be more dynamic.
Describe the solution you'd like
Create an abstract class that has the base functionalities and then extend it for each plugin's class.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
Yes, Now when we implemented the promote imagify feature, we added the whole code inside plugin family controller.
Now if we needed to promote any other plugin we will duplicate the code or use the existing code but inside the same controller, so we need to find a way to refactor this a bit to be more dynamic.
Describe the solution you'd like
Create an abstract class that has the base functionalities and then extend it for each plugin's class.
Describe alternatives you've considered
N/A
Additional context
N/A