[wp-hackers] Disabling media buttons

Otto otto at ottodestruct.com
Wed Apr 16 14:59:10 GMT 2008


Have you tried this in a plugin or in the theme's functions.php file?

remove_action( 'media_buttons', 'media_buttons' );

That should eliminate the buttons from showing at all.

On Wed, Apr 16, 2008 at 9:29 AM, Per Søderlind <per at soderlind.no> wrote:
> Hi,
>
>  I'm trying to disable the media buttons tab (actually trying to disable
>  upload), but I can't find a filter for 'em.
>
>
>  Any idea (I've looked at the media_buttons action, but ...)?
>
>  ../PerS
>
>  _______________________________________________
>  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