Support

Account

Home Forums Backend Issues (wp-admin) Add extra field to existing field type

Helping

Add extra field to existing field type

  • Hi,

    I’ve been searching for a while, but I only found a way to create new Field Types.

    Is it possible to add an extra (text) field to an existing field type?

    I am using the taxonomy field type as a child of flexible content. When calling the get_field_object, it would be nice to have the new field inside the value array:

    
    [term_id] => 3
    [name] => Basketball
    [slug] => basketball
    [term_group] => 0
    [term_taxonomy_id] => 3
    [taxonomy] => category
    [description] => 
    [parent] => 0
    [count] => 6
    [filter] => raw
    [KEY_NEW_FIELD] => VALUE NEW FIELD
    

    Thanks!

  • This is not possible. If you want fields with additional settings that can be edited with editing a post or whatever, then you need to create a new field type. https://www.advancedcustomfields.com/resources/creating-a-new-field-type/

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Add extra field to existing field type’ is closed to new replies.