' . $labelvalue[0] . '
',
'b' => '' . $labelvalue[1] . '
',
'c' => '' . $labelvalue[2] . '
',
'd' => '' . $labelvalue[3] . '
',
'e' => '' . $labelvalue[4] . '
',
'f' => '' . $labelvalue[5] . '
',
'g' => '' . $labelvalue[6] . '
',
'h' => '' . $labelvalue[7] . '
',
'i' => '' . $labelvalue[8] . '
',
'k' => '' . $labelvalue[9] . '
',
);
$b = array (
'o' => '' . $contentvalue[0] . '
',
'p' => '' . $contentvalue[1] . '
',
'q' => '' . $contentvalue[2] . '
',
'r' => '' . $contentvalue[3] . '
',
's' => '' . $contentvalue[4] . '
',
't' => '' . $contentvalue[5] . '
',
'u' => '' . $contentvalue[6] . '
',
'v' => '' . $contentvalue[7] . '
',
'w' => '' . $contentvalue[8] . '
',
'x' => '' . $contentvalue[9] . '
',
);
$n = array (
1 => $a['a'] . $b['o'],
2 => $a['b'] . $b['p'],
3 => $a['c'] . $b['q'],
4 => $a['d'] . $b['r'],
5 => $a['e'] . $b['s'],
6 => $a['f'] . $b['t'],
7 => $a['g'] . $b['u'],
8 => $a['h'] . $b['v'],
9 => $a['i'] . $b['w'],
10 => $a['k'] . $b['x'],
);
$attributes = shortcode_atts(
array(
'id' => ''
),
$arInfo
);
$aikeziInfo = '';
if (empty($attributes['id'])) {
$aikeziInfo = '' . implode('', $n) . '
';
} else {
$no_whitespaces = preg_replace( '/\s*,\s*/', ',', sanitize_text_field( $attributes['id']) );
$id = explode( ',', $no_whitespaces );
foreach ($id as $v) {
$AzChangeV = intval($v);
if ($AzChangeV > 0 && $AzChangeV <= 10) {
$aikeziInfo .= '' . $n[$AzChangeV] . '
';
} else {
$aikeziInfo = '' . '
I am Sorry, but the [id="..?.."] must be an integer and 0 < id < 11. Let\'s fix them. Or remove the commas at the beginning and at the end [id=",...,"]
' . '
';
}
}
}
return $aikeziInfo;
}
//Shortcode display image upload
public function aikezi_solutions_create_photo() {
$takeFilePath = get_option('aikezi_solutions_contact',
array ());
if ( !empty($takeFilePath['aikezi_solutions_logo_url']) ) {
$displayPhoto = '