/** * replace any protected tags to original */ public static function unprotectForm(&$string, $tags = array()) { // Protect entire form if (empty($tags)) { RLProtect::unprotect($string); return; } RLProtect::unprotectTags($string, $tags); }