Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Function Reference/body class

The section "Adding more classes" is a little confusing, particularly
The classes are restricted to the defaults listed.

Can someone explain this? What is the difference between calling the function and using a filter?

Perhaps the section should be rewritten to mirror the example in the "Implementation" section.