3

For a plugin for WooCommerce I need to find the hook which can be used to handle some additional actions when the sale price of a product is added or changed. When I experiment with 'transition_post_status' somehow the initial sale price seems to be invisible, so I can't detect the change.

0
1

You can use "save_post" hook to detect whether the sales price is modified or added.

Thanks,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.