I have functions for setting default values when a new user signs up, functions for performance testing, functions for writing out a small icon to the admin tool bar, and so on.
These functions are scattered around where I'm using them, which is in templates, plugins, and so on. Where should I be putting them? I know there is a
theme/functions.php and a
wp-includes/functions.php and that seems like the logical place to put them, but my hosting company is set to upgrade my installs to the latest versions. I don't want my code in the
functions.php to be overwritten. What should I do?