THEME_DIR constant defines the theme directory path. This is the path to the parent theme directory (or current theme directory if not using a child theme).
The following code shows an example of the
THEME_DIR constant being used to load an admin functions file.
require_once( trailingslashit( THEME_DIR ) . 'functions-admin.php' );