How to update form fields in a WordPress Dashboard Wiget?

With normal custom meta boxes, this can be done with update_post_meta($post[‘ID’]), but a WordPress Dashboard Widget isn’t a post nor does it have an ID. I can’t seem to find an equivalent function for the Dashboard Widget.

NOTE: I don’t want to use the ‘option’ function, since I want these field to be displayed immediately and I don’t want my client to first have to click at ‘Configure’ or something like that to input something.

Read more here:: How to update form fields in a WordPress Dashboard Wiget?

Leave a Reply

Your email address will not be published. Required fields are marked *