Add things to robots.txt

In WordPresss there is a hook to add stuff to the robots.txt searchengines use to determine what to search thrue. In the following example we add the sitemap to robots.txt to make sure searchengines will find it.