public static function shortcodeToEntities($content) {
        $replacements = self::getShortcodeEntities();
        return str_replace(array_keys($replacements), $replacements, $content);
    }
public static function shortcodeToEntities($content) {
        $replacements = self::getShortcodeEntities();
        return str_replace(array_keys($replacements), $replacements, $content);
    }
public static function shortcodeToEntities ( $ content ) { $ replacements = self :: getShortcodeEntities ( ) ; return str_replace ( array_keys ( $ replacements ) , $ replacements , $ content ) ; }
Converts plain text shortcodes to HTML entities.

@param string $content
@return string
Converts plain text shortcodes to HTML entities .