here ', 'error' ); } } else { $sent_errors ++; add_settings_error( 'mail-email-invalid', 'settings_updated', 'Please enter a valid email!', 'error' ); } } if ( isset( $_POST['advertise_world_support']['email'] ) && $sent_errors === 0 ) { add_settings_error( 'account-valid', 'settings_updated', 'Thank you for your message we will respond shortly!', 'updated' ); } $existing_account_email = ''; if ( is_array( $options ) && array_key_exists( 'account', $options ) ) { $existing_account_email = $options['account']; } ?>