I was wondering how WordPress remembers the position of metaboxes: session basis, user basis, computer basis? Does it set a cookie? Is it saved in the database?
1 comment
Comments are closed.
I was wondering how WordPress remembers the position of metaboxes: session basis, user basis, computer basis? Does it set a cookie? Is it saved in the database?
Comments are closed.
WordPress saves them in the databas in wp_usermeta as serilized array.
For the dashboard all are registered in meta-box-order_dashboard if the meta-box(s) are in metaboxhidden_dashboard they will not be shown. The order will be as saved in database and if not in metaboxhidden_dashboard.
Example the dashboard:
KEY: meta-box-order_dashboard
VALUE:
There are also these meta_key(s):