Pass full $_POST
in 'edd_metabox_save_' . $field
hook
#9738
Labels
type-request
workflow-pending-triage
Items that need to be triaged and reviewed before they are worked on.
Enhancement Request
Explain your enhancement (please be detailed)
Add
$_POST
as a second argument passed in the'edd_metabox_save_' . $field
hook:easy-digital-downloads/includes/admin/downloads/metabox.php
Line 231 in 252a23a
Justification or use case
I'm creating a custom download type which has a custom meta. I would like to clear the meta value if the download type changes. For that, I need to have access to the full
$_POST
in myedd_metabox_save_
filter to check for the value of_edd_product_type
.The text was updated successfully, but these errors were encountered: