I got a set of meta boxes containing different form fields. All of them are build inside a set of classes.
Now I have the problem that I have to hook the construction of the fields early enough to hook the needed scripts & styles. Everything is fine - I can display them, styles & scripts appear & work, saving the data works - but I can't retrieve the post meta data to fill the values of the fields.
Point is that the fields get hooked at
admin_menu, which is too early to get the
$post_id. Now I saw that I could also use
$_GET['post'] to retrieve the ID.
What speaks against this?