4 edited tags
| link
3 edited tags
| link
    Tweeted twitter.com/#!/StackWordPress/status/219423826696617984
2 Changed title, formatting and tags. Alter the link to point to the correct file.; added 1 characters in body
source | link

How to remove a filter that's in a classthat is an anonymous object?

In my functions.phpfunctions.php file I would like to remove the below filter, but I'm not sure how to do it since it's in a class. What should remove_filter()remove_filter() look like, to remove this?

add_filter('comments_array',array( &$this, 'FbComments' ));

add_filter('comments_array',array( &$this, 'FbComments' ));

(It's It's on line 69 here88 http://snipt.org/vkjh0)here.

How to remove a filter that's in a class?

In my functions.php file I would like to remove the below filter, but I'm not sure how to do it since it's in a class. What should remove_filter() look like, to remove this?

add_filter('comments_array',array( &$this, 'FbComments' ));

(It's on line 69 here http://snipt.org/vkjh0)

How to remove a filter that is an anonymous object?

In my functions.php file I would like to remove the below filter, but I'm not sure how to do it since it's in a class. What should remove_filter() look like?

add_filter('comments_array',array( &$this, 'FbComments' ));

It's on line 88 here.

1
source | link