Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acf-delete-images-when-removed-from-gallery.php #18

Open
damarkuzz opened this issue Apr 22, 2022 · 1 comment
Open

acf-delete-images-when-removed-from-gallery.php #18

damarkuzz opened this issue Apr 22, 2022 · 1 comment

Comments

@damarkuzz
Copy link

When a user deletes an image from the gallery in wp-admin I need it to be deleted from the media library too. I have a function using the acf/update_value hook which works uncorrectly. When a user simply updates a post, WordPress removes all images from the media library and current gallery field. Please tell me how to fix it?

@Hube2
Copy link
Owner

Hube2 commented Apr 22, 2022

You need to ask questions like this on the ACF forum https://support.advancedcustomfields.com/forums/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants