[wp-hackers] "content_filtered_save_pre" filter?

Viper007Bond viper at viper007bond.com
Sat Sep 8 23:35:40 GMT 2007


I want to filter the post before it's inserted into the database (reverse
some changes TinyMCE makes).

According to http://codex.wordpress.org/Plugin_API/Filter_Reference ,
"content_filtered_save_pre" appears to be what I want. However, when I do
this code:

add_filter( 'content_filtered_save_pre', 'var_dump' );

NULL is outputted, i.e. nothing is being passed to it. I'm using the latest
SVN.

"content_save_pre" gets some data, but it's the raw $_POST with slashes
added before quotes and such.

Any ideas?

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


More information about the wp-hackers mailing list