[wp-hackers] "content_filtered_save_pre" filter?

Andy Skelton skeltoac at gmail.com
Sat Sep 8 23:52:32 GMT 2007


I don't know anything about any broken filters but you mentioned tinymce, so...

If you just want to change the way tinymce behaves, the more direct
way would be to alter the tinymce config or write your own replacement
functions in js. The hooks for this are in tiny_mce_config.php.

Cheers,
Andy

On 9/8/07, Viper007Bond <viper at viper007bond.com> wrote:
> 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/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list