public static function encodeShortcode($content)
    {
        $content = self::entitiesToUnicode($content);
        $content = self::unicodeToShortcode($content);

        return $content;
    }
public static function encodeShortcode($content)
    {
        $content = self::entitiesToUnicode($content);
        $content = self::unicodeToShortcode($content);

        return $content;
    }
public static function encodeShortcode ( $ content ) { $ content = self :: entitiesToUnicode ( $ content ) ; $ content = self :: unicodeToShortcode ( $ content ) ; return $ content ; }
Converts all unicode emoji and HTML entities to plaintext shortcodes.

@param string $content
@return string
Converts all unicode emoji and HTML entities to plaintext shortcodes .