PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Changing Entries Display

  1. Hi,

    I'm currently trying to change how results are displayed in the form entries overview.

    I receive the ID of a product category and I can turn that into a Product Name, however I can't get rid of the original ID from displaying.

    Here's my code:

    add_action("gform_entries_column", "ne_add_product_cat", 10, 5);
    function ne_add_product_cat($form_id, $field_id, $value, $lead, $query_string){
    
        if($form_id != 2)
            return;
    
        if($field_id != 3)
            return;
    
        $term = get_term( $value, 'product_cat' );
    
        echo $term->name;
    }

    Cheers.

    Posted 9 years ago on Monday April 29, 2013 | Permalink
  2. Handling via priority support.

    Posted 9 years ago on Thursday May 2, 2013 | Permalink

This topic has been resolved and has been closed to new replies.