[wp-hackers] Passing class methods by reference
mikeschinkel at newclarity.net
Thu Aug 5 17:52:19 UTC 2010
On Aug 5, 2010, at 9:21 AM, Jacob Santos wrote:
> Therefore, you can still change the object in $this without changing the original, whereas &$this will. When using objects in plugins in WordPress, the object should always be referenced explicitly in order to assure that it can be removed in the future.
Jacob, I was actually trying to figure out how to remove a filter that was added using an array instance method just the other day and was stumped. Mine sharing how it's done?
Thanks in advance.
More information about the wp-hackers