Can I edit the wp_post > post_content right before its inserted/updated?
I would need to apply some sort of encryption on whatever gets inserted in the wp_post > post_content, so I was wondering if there is a way, either modifying the core (rather not), or using some filter or hook and function, where I could perform the encryption right before the content gets saved.
And then once called for by the frontend or backend, to apply an decryption, before the post_content gets actually used.
Thanks in advance to anyone with some advice on the matter!
Topic encryption wp-update-post wp-insert-post hooks wp-admin Wordpress
Category Web