Title: &#8220;Code Editor&#8221; field type
Last modified: June 28, 2023

---

# “Code Editor” field type

 *  Resolved [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [2 years, 11 months ago](https://wordpress.org/support/topic/code-editor-field-type/)
 * Are there ways to filter in more field types by any chance? Based on what I can
   determine, we have a field type named “Code Editor” coming from [https://www.acf-extended.com/](https://www.acf-extended.com/)
   so the filter method may be our best hope.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/code-editor-field-type/#post-16858405)
 * Hi [@tw2113](https://wordpress.org/support/users/tw2113/),
 * Thank you for your message.
 * I have just published a plugin update to version 4.1.1, which will allow you 
   to add support for a new field type. To do this, in the functions.php file in
   your theme directory, add the following code:
 *     ```
       add_filter( 'acfbs_field_types', function ( $field_types ) {
       	$field_types['editor'] = 'Editor';
       	return $field_types;
       } );
       ```
   
 * I don’t know exactly what the field type is, so in the example I gave the field
   name as `editor` – check it in that plugin. After adding this code, you will 
   be able to activate support for the new field type in the plugin settings.
 * Best,
    Mateusz
 *  Thread Starter [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [2 years, 11 months ago](https://wordpress.org/support/topic/code-editor-field-type/#post-16858552)
 * Working like a charm thus far for my testing. Thank you very much for being willing
   to add a filter like this for us to work with. Appreciated. Unless something 
   comes up, I’m going to mark this thread as resolved.
 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/code-editor-field-type/#post-16858566)
 * [@tw2113](https://wordpress.org/support/users/tw2113/) I am very pleased. I will
   be glad if you support the development of the plugin by leaving your review.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘“Code Editor” field type’ is closed to new replies.

 * ![](https://ps.w.org/acf-better-search/assets/icon-256x256.png?rev=2636287)
 * [ACF: Better Search](https://wordpress.org/plugins/acf-better-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-better-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-better-search/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-better-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-better-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-better-search/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/code-editor-field-type/#post-16858566)
 * Status: resolved