[wp-hackers] trying to understand the Admin API ...
changing default values for visible Screen Options
Mindshare Studios
info at mindsharestudios.com
Wed Dec 17 00:24:42 GMT 2008
awesome. thanks. hats exactly what i was looking for.
damian
-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of andré renaut
Sent: Tuesday, December 16, 2008 5:08 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] trying to understand the Admin API ... changing default values for visible Screen Options
As far as i understand,
you want to hide some dashboard widgets by default.
The dashboard widgets are defined in wp-admin/includes/dashboard.php
so if you want to hide some of the widgets even in the "Screen options", you
will need to hack this file.
Otherwise, the "Screen options" (Show on/off) are stored in the db for each
admin user : see table usermeta column meta_key = metaboxhidden_dashboard
More information about the wp-hackers
mailing list