add private note function to functions.php