WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Types – Custom Fields and Custom Post Types Management] meta "name"

[Plugin: Types – Custom Fields and Custom Post Types Management] meta "name"

  • How to retrieve the “name” of a field via PHP?

    Retrieving the value it’s easy enough with “get_post_custom()”, but that get’s me the keys and the values. Types allows to set a display as well.

    How do we go around to displaying it? Where is it stored?
    Thanks and regards.

    I.-

    http://wordpress.org/extend/plugins/types/

Viewing 1 replies (of 1 total)
  • Got it.

    Just “$options = get_option(‘wpcf-fields’);’

    and then $options[‘fieldname’][‘name’] will hold the name.

    (“fieldname” being the name of your field).

    Thanks anyway.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Types – Custom Fields and Custom Post Types Management] meta "name"’ is closed to new replies.