[wp-hackers] Disabling media buttons

Per Søderlind per at soderlind.no
Wed Apr 16 22:40:28 GMT 2008


> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-
> bounces at lists.automattic.com] On Behalf Of Otto
> 
> Okay, I'll be more clear...
> 
> function removestuff() {
> remove_action( 'media_buttons', 'media_buttons' );
> }
> add_action('admin_head','removestuff');
> 

Thank you Otto, this worked :) .. it will be implemented in the next
ImageManager version (i.e. v2.5.3)

../PerS - www.soderlind.no/ImageManager



More information about the wp-hackers mailing list