I am customising a Wordpress admin area and so far so good with a number of add_filter and add_action calls in my theme's functions.php file.
But I'm a bit worried because all this code will be executed on all pages, not just the admin area.
I therefore went ahead with the below approach:
if (is_admin()) require_once('admin-functions.php');
It works but is this the cleanest way of doing it?