Skip to content

Refactor the code to have a class for each plugin #28

@wordpressfan

Description

@wordpressfan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions