Delete option value from array using update_option()
I have a user profile field which subscribes the user to forum posts by email. This adds the user’s email address to an array in wp-options. Naturally I want the user to be able to unsubscribe, in which case he would uncheck a checkbox. Here is how I am trying to do this: add_action( ‘personal_options_update’, … Read more