In my wordpress i have a functions.php file containing 1500 lines of code. Most of this code comes from a program i wrote that connects to an api and sends data from wordpress to it. Im not a wordpress developer so i dont know if this is possible. Can you make a different file to keep functions.php clean and then include the external file inside the functions.php?

Thanks in advance

Read more here: Include external files in functions.php wordpress


Solution:

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: