[wp-hackers] "content_filtered_save_pre" filter?

Viper007Bond viper at viper007bond.com
Sun Sep 9 07:32:46 GMT 2007


Oh, well then what should I use to modify a post's contents before it's put
into the database, post-filtering (i.e. removal of slashes and such) ?

On 9/8/07, Ryan Boren <ryan at boren.nu> wrote:
>
> On 9/8/07, Viper007Bond <viper at viper007bond.com> wrote:
> > I wrote a post and added
> >
> > add_filter( 'pre_post_content_filtered', 'var_dump' );
> >
> > to my plugin and after hitting publish, it outputted
> >
> > string(0) ""
> >
> > and then a cannot modify headers warning (expected).
> >
> > Ugh.
>
> WP does nothing with that field by default.  Unless you're putting
> stuff in it, it should be blank.
>
> Ryan
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/


More information about the wp-hackers mailing list