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?

  • because I can’t spell

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