Support

Account

Home Forums General Issues Getting the field_key by name Reply To: Getting the field_key by name

  • Hi @altivan

    Since the field_key is saved in the “hidden” meta key you could also just do this:

    
    //add _ before the regular field name. 
    $field_key = get_post_meta($postid, '_field_name', true);