[wp-hackers] Passing post_id as filter argument

Vladimir Ghetau vladimir at pixeltomorrow.com
Tue Dec 11 20:15:23 GMT 2007


Hi guys,

I'm trying to figure out how to pass the post_ID as argument when 
using the add_filter hook.

Besides the content I'm receiving automatically, I really can't 
figure out an workaround to passing the post_ID argument to the 
called function using add_filter('the_content', 'myfunc').


Thanks for your input on this.

Vladimir Ghetau
http://www.Vladimirated.com/


More information about the wp-hackers mailing list