• Hi guys,

    I’m trying to edit the ‘subject’ column field’s values but the action ‘manage_flamingo_inbound_posts_custom_column’ seems not working properly.

    Here is the code I wrote to test it:

    add_action( 'manage_flamingo_inbound_posts_custom_column' , 'rm_flamingo_inbound_column', 10, 2 );
    function rm_flamingo_inbound_column( $column, $post_id ) {
        switch ( $column ) {
            case 'subject' :
                $subject = get_post_meta( $post_id, 'post_select-956', true );
                    echo $subject;
                break;
        }
    }

    This code do none, nothing change.
    What’s the problem?

    If I need to hide the same column, this code is working fine:

    add_filter('manage_flamingo_inbound_posts_columns', 'rm_flamingo_filter');
    function rm_flamingo_filter($columns) {
    	unset( $columns['subject'] );
        return $columns;
    }
  • The topic ‘[manage_flamingo_inbound_posts_custom_column] not work’ is closed to new replies.