But the solution you provided here does not :
new HivePress\Blocks\Message_Send_Form( ['values' => ['recipient' => $vendor->get_id()] ] ) )->render();
At least for me, even if you replace the $vendor->get_id()
by its underlying user_id
.
It’s a pity, because it was more elegant, hence this spaghetti code workaround.