I have a function right now in my functions.php file that display a contact form on the frontend, also checks the user data and send an email, so the question is, should I leave this just where it is ( functions.php ) ?? or include it in a plugin. I have to say that until now the mentioned form is attach to the theme functionality, for example it uses the colors selected by the user on the customize screen, but I want to know if in this case belongs to the “plugin territory”, thank you very much!

Read more here: Contact form function should be in functions.php or in a plugin file?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: