[ ⇓ ' . sprintf(wp_kses_post(__('%s %s more', 'pmxi_plugin'), $no, _n('element', 'elements', $no, 'pmxi_plugin'))) . ' ⇓ ]'; return; } $more = ''; if ($shorten and preg_match('%^(.*?\s+){20}(?=\S)%', $text, $mtch)) { $text = $mtch[0]; $more = '[' . __('more', 'pmxi_plugin') . ']'; } $text = esc_html($text); // $text = preg_replace('%(?' . esc_html($text) . $more . ''; }