A type of hook that provides a way for content to be overridden programatically

learn more… | top users | synonyms (5)

2
votes
2answers
413 views

Is This A Correct Example Usage Of current_filter()?

Is this a good example of usage of current_filter()? <?php add_filter("_my_filter", "common_function"); add_filter("_another_filter", "common_function"); function common_function(){ ...
16
votes
2answers
7k views

Difference Between Filter and Action Hooks?

I have been looking at the plugin API a bit more in depth recently and I was wondering what real differences there were between action and filter hooks. They both are events that receive data as a ...
2
votes
4answers
2k views

How can I filter Microsoft Word gunk from pasted content?

I have some users who are posting to a group blog and are able to cut-and-paste but their pastes include things like: <!– /* Font Definitions */ @font-face {font-family:”Cambria Math”; panose-1:2 ...
1
vote
2answers
100 views

Can plugins that filter post contents work on posts from Word 2007?

I am testing blogging from Word 2007, so we can support users who wish to do so. Everything works fine, and as expected except the plugins that we use that add filters to the_content (eg ...
1
vote
2answers
88 views

Modifying the comments section through a plugin regardless of theme

I need to be able to add some data (text/images) to each comment in the comments section through a plugin. What I'm trying to do is actually very similar to the way the stack exchange sites have their ...