Home › Forums › Front-end Issues › Is there an ACF hook for when you edit an image? › Reply To: Is there an ACF hook for when you edit an image?
Editing an image is part of WP core and not part of ACF. ACF just implements functionality that is already there. If there is a hook for after an image is edited then this hook would be found in WP.
Just at a guess I would assume the WP “post_updated” hook or perhaps the more specific “save_post_{$post_type}” hook which would be “save_post_attachment” for images.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.