In WordPress, objects are passed by value or by reference.

Show Buttons
Hide Buttons