Meta Box
Support Forum
Support › MB Settings Page › ✅Delete options field MB Settings Page › Reply To: Delete options field MB Settings Page
Hi,
The old field is an element in the option array. To delete it, simply unset it:
$option = get_option( 'settings' ); $option['new-text'] = $option['Text-old']; // THIS unset( $option['Text-old'] ); update_option( 'settings', $option );