as the title suggests.

it would be nice to have a folder in the includes folder which is called "functions"

then users could upload files into here which contain custom functions (that arent associated with hook points).

im pretty sure i can just create a file with custom functions and add it to the hooks folder and they will be called for all pages (not tested).

but for logical thinking it would be nice to have a folder dedicated to custom functions.

ie if i want to have a function called:

get_foo_bar();

and i want to be able to access this on any page (clientarea, or admin).

it would be nice if there was a folder called:

/includes/functions

then in there i could create a file called:

get_foo_bar.php

and add my function to this file


and have whmcs automatically load these files on page loads so they can be used.

or maybe we could have naming conventions where client side files could be called:

client_get_foo_bar.php

and admin functions could be called

admin_get_foo_bar.php