0

I want to do some customization in dokan plugin. I want to know if there is a hook available for update product from vendor panel.

LoicTheAztec
  • 229,944
  • 23
  • 356
  • 399
Kalpit tandon
  • 119
  • 1
  • 3
  • 10

1 Answers1

4

After adding the input filed you have to save the value of the field. On that place you have to use do_action( 'dokan_new_product_added', $product_id, $post_data ); this hook to save the field data.

When you will edit the product that time you have to use do_action( 'dokan_product_updated', $post_id ); to re-save.

Nazmul Hassan
  • 321
  • 1
  • 7