Support

Account

Home Forums General Issues How can I can HTML code to appear as code in the field instructions? Reply To: How can I can HTML code to appear as code in the field instructions?

  • Not sure what I’m doing wrong but I keep getting:

    Fatal error: Call to undefined function htmleneities()

        add_filter('acf/load_field/name=author_promo', 'acf_label_htmlentities');
        function acf_label_htmlentities($field) {
            $field['label'] = htmleneities($field['label']);
            return $field;
        }