How to register activation and deactivation hook in plugin using OOP pattern

Question

I need to know how to write function for registering activation_hook and deactivation_hook following OOP fashion with best practices.

I know there are some tasks we can do inside plugin activation/deactivation which is really essential in some cases like to create professional plugins.

Thanks.

0
magento_psycho 3 months 0 Answers 12 views 0

Leave an answer