rovowp
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Got it, thanks for the answer, have a nice day!
I understand that this is a double-edged sword, but i meant that adding a hook would be a more universal solution for me, because plugin files with this approach remain untouched.
Perhaps it will be convenient to add this option (store / delete images) using the switch?
In fact, it is not clear why this code generally works with these manipulations. I intentionally do not delete anything.
Ok, understood, feature so feature 🙂
May be a better solution is hook – remove_action(‘before_delete_post’, ‘csyn_delete_post_images’); in functions.php? This will allow to safely update the plugin.
See call stack: https://ibb.co/N2kxkZg
With button “Add media”, i use Classic Editor
Viewing 5 replies - 1 through 5 (of 5 total)