[ad_1]
You can give this code a try and use {cf:modified_author}
add_filter( 'wptelegram_p2tg_post_data_cf:modified_author_value', function ( $value, $post ) {
$last_id = get_post_meta( $post->ID, '_edit_last', true );
if ( $last_id ) {
$last_user = get_userdata( $last_id );
return $last_user->display_name;
}
return $value;
}, 10, 2 );
it works pretty well, thanks for the quick help <3
