/**
     * Filters content and keeps only allowable HTML elements.
     *
     * This is the same function as built into WP, but with optional allowing of keeping "&"
     *
     * @param string $string Content to filter through kses
     * @param array $allowed_html List of allowed HTML elements
     * @param array $allowed_protocols Optional. Allowed protocol in links.
     * @return string Filtered content with only allowed HTML elements
     */
    function wp_kses($string, $allowed_html, $allowed_protocols = array(), $skip_normalize_entities = false)
    {
        if (empty($allowed_protocols)) {
            $allowed_protocols = wp_allowed_protocols();
        }
        $string = wp_kses_no_null($string);
        $string = wp_kses_js_entities($string);
        if (!$skip_normalize_entities) {
            $string = wp_kses_normalize_entities($string);
        }
        $string = wp_kses_hook($string, $allowed_html, $allowed_protocols);
        // WP changed the order of these funcs and added args to wp_kses_hook
        return wp_kses_split($string, $allowed_html, $allowed_protocols);
    }
}
// end class
// Boot it up!
global $sf;
$sf = new simple_fields();
$sf->init();