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.


1 Answer 1


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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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