return [ 3 => '[cb_menulabelmedical]', 4 => '[cb_menulabeldental]', 5 => '[cb_menulabelvision]' ];
return [ 3 => $user->getString( 'cb_menulabelmedical', '' ), 4 => $user->getString( 'cb_menulabeldental', '' ), 5 => $user->getString( 'cb_menulabelvision', '' ) ];
Please Log in to join the conversation.
Please Log in to join the conversation.
$options = [];
if ( $user->getBool( 'cb_show1', false ) ) {
$options['VALUE_1'] = 'LABEL_1';
}
if ( $user->getBool( 'cb_show2', false ) ) {
$options['VALUE_2'] = 'LABEL_2';
}
if ( $user->getBool( 'cb_show3', false ) ) {
$options['VALUE_3'] = 'LABEL_3';
}
return $options;
Please Log in to join the conversation.
Please Log in to join the conversation.