0
votes
0answers
116 views

update_option() updating the option with an empty value?

I have a call to update_option() inside a class which edits some keys from the options array passed to it and then saves the updated array to the database, I don't have any fancy code, the function is ...
4
votes
1answer
873 views

Adding Widget form fields dynamically

I am trying to add form field to a WordPress widget dynamically. So if the user want to add another date to an event they can click a button to get more fields. The question is: How do save newly ...
0
votes
1answer
42 views

Plugin options page - save two related options as one entry

I created an options page for my plugin where the user can specify image dimensions which will be saved for later use. So far the image dimensions are entered by the user in one input field like ...
1
vote
1answer
90 views

Insert/Update values to a table after blogname option etc. is updated

Im trying to update into another table the values blogname, blog description options when the user updated them from General Settings page. I use this code, $hook_array = ...
2
votes
1answer
3k views

Update Option Stored in Multi-Dimensional Array

I have data in the wp_options table currently stored as a multi-dimensional array (profile_element_order): ...