Skip to content

Commit

Permalink
update:hook metadata with since attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mralaminahamed committed Oct 3, 2024
1 parent 443a6de commit d8a4394
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions includes/Vendor/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,8 @@ public function update( $vendor_id, $data = [] ) {
/**
* Fires before a vendor is updated.
*
* @since 2.9.10
*
* @param int $vendor_id The ID of the vendor being updated.
* @param array $data The array of vendor data being updated.
*/
Expand All @@ -442,6 +444,9 @@ public function update( $vendor_id, $data = [] ) {
/**
* Fires after a vendor has been updated.
*
* @since 2.9.10
* @since DOKAN_SINCE added $data parameter
*
* @param int $vendor_id The ID of the vendor that was updated.
* @param array $data The array of vendor data that was updated.
*/
Expand Down

0 comments on commit d8a4394

Please sign in to comment.