Is there a code reference or a solution to put automatically all the vendor’s listings to “Draft” when vendor profile is changed/set to “Pending review”.
Currently if I disable the vendor profile then all his listings are still visible which is not good in my opinion.
Please try this PHP snippet. But please note that it can require further customization and testing. If you are not familiar with the code customization, then please consider hiring someone for custom work https://fvrr.co/32e7LvY