My functions.php includes other function files located within a ‘functions’ directory.

Currently they’re individually added, in the format of this example:

include('functions/login.php');

How can I modify this to include all files within the ‘functions’ directory, without listing them individually?

Read more here: How to include all files within a folder to functions.php?


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: