Custom (PHP) snippets in WordPress

Often you will see tutorials that describe how to customize WordPress and, frequently, they will suggest you do this by...