[wp-hackers] Changing two variables listed in apply_filters hook

Sabin Iacob iacobs at m0n5t3r.info
Sun Jul 22 10:07:56 GMT 2007

Ted Balaban wrote:
> I want to CHANGE the second variable.   In my corrected example
> you return the first variable.   What do I specify as the return state-
> ment?


> A few simple questions.   Does the added filter function get inserted
> at the apply_ filters statement?

that's when it's run; it is added to the filter list when you run add_filter

>    Do the variables get changed at
> the apply_filters statement and not before or after?


>    A function can
> only be removed if a do_action is inserted in the function?

this is confusing, please rephrase

>   Finally
> a function with do_action inserted can be processed first with low
> priority with a user function and the primary function will not execute?

this is again confusing, you need to define what you want to know better :P

More information about the wp-hackers mailing list