$settings Field configuration. * @var mixed $value Current saved value. * @var string $module_id Module ID. * * @package Merchant * @since 2.2.5 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! empty( $settings['options'] ) ) : // Both sides as strings: an option list can be keyed by integers while a // saved value is always a list of strings. $saved = array_map( 'strval', (array) $value ); foreach ( $settings['options'] as $key => $option ) : ?>