Support » Plugin: Developer's Custom Fields » [Plugin: Developer's Custom Fields] Different prefix in certain scopes?

  • Resolved Arden012


    Hi There,

    I’m making use of gravity forms, and I need some of the custom fields I created with developers custom fields to show up in the default custom fields. Now in your documentation I read “An underscore at the start means these values won’t show up in the default WordPress custom fields meta box.”. I already used developers custom fields with the default prefix a lot, and would like to keep all those values the same, I just need them to show up under one custom post type / custom fields box. Is this possible? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Steve Taylor


    It’s not possible now – the prefix is global. It could be added as a feature – perhaps a show_in_default_custom_fields field parameter? I’d need to change the slt_cf_prefix() function to take the name of the field as well, and selectively strip the underscore at the start as appropriate.

    However, wouldn’t it be easier to just not define such fields through the plugin? Just make sure you do this:

    slt_cf_setting( 'hide_default_custom_meta_box', false );

    Then you can manage stuff you want in the default custom fields there.

    It would be a nice feature to make Developers custom fields a bit more compatible with plugins that create and populate their own custom fields.
    Anyway, you’re absolutely right, it’s way easier just to define the fields within the plugin, didn’t see that gravity form option yet :).
    Thanks for your swift reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Developer's Custom Fields] Different prefix in certain scopes?’ is closed to new replies.