Solution:
add_action('dokan_store_profile_frame_after', 'add_store_id', 13, 2);
function add_store_id($store_user, $store_info){
global $store_id;
$store_id = $store_user->ID;
add_filter( 'wc_product_table_query_args', 'wcpt_custom_query_args', 10, 2 );
}
function wcpt_custom_query_args( $args, $product_table) {
global $store_id;
// do something with $args
$args += array('author' => $store_id);
return $args;
}