• I would like to display a custom column on the flamingo_inbound page, using one of the fields captured in the forms. I have existing messages I want to view in the inbound messages list, and customizing the subject/from fields captured doesn’t apply to previously sent messages.

    I see the filters “manage_flamingo_inbound_posts_columns” and “manage_flamingo_inbound_posts_custom_column” but not sure how to implement to add a custom column to the inbound messages.

    Can anyone point me in the right direction?

Viewing 1 replies (of 1 total)
  • Hi, you may do something like this :
    if you want to print a column of the field [your-mobile]

    function flamingo_columns( $columns ) {
        $columns['mobilenumber']="Mobile Number";
        return $columns;
    }
    add_filter( 'manage_flamingo_inbound_posts_columns', 'flamingo_columns' );
    
    add_action('manage_flamingo_inbound_posts_custom_column', 'print_flamingo_mobile', 10, 2);
    function print_flamingo_mobile($column_name,$post_id) {
      if ($column_name=='mobilenumber') {
        echo get_post_meta( $post_id, '_field_your-mobile', true );
      }
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Display a custom column on inbound messages table’ is closed to new replies.