Answer the question
In order to leave comments, you need to log in
How to prevent conflict of plugins, functions in Wordpress?
Hello!
I'm writing a plugin for Wordpress using OOP approach, classes are loaded via psr-4(App\).
I heard that there may be a conflict of functions with other plugins, for this it seems like you need to add a prefix of the PRNMK_ClassName type to each class and function, but somehow it doesn’t look very good. What is the best way to solve this problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question