[wp-hackers] file uploading: maybe worth add a hook?

Pixline supporto at pixline.net
Wed Feb 21 16:26:15 GMT 2007


Il giorno 21/feb/07, alle ore 16:01, Jennifer Hodgdon ha scritto:
> add a line like this:
>    $overrides = apply_filters( 'upload_overrides', $overrides );

I really didn't know that was so simple... Seems like the solution in  
WP is quite always the easy way, I'm not used to that pleasant  
coding :-)
I make a patch with your suggestion and the enhancement request on  
http://trac.wordpress.org/ticket/3831 , hoping it will be accepted.
In that case my plugin will be 95 lines shorter :-).

I definitively love wordpress.
Thank You.

Paolo


More information about the wp-hackers mailing list