Encrypt Database Fields WP Registry grade B. Medium-severity findings · 1 findingWP RegistryMedium-severity findings · 1 findingOpen the reportB
Encrypt post (ACF) and user fields in WordPress
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/josephdsouza86/encrypt-database-fields/archive/refs/heads/master.zipAdds an option to encrypt ACF text field and usermeta fields values in the database. Useful for storing sensitive data, such private personel information.
Requirements
- PHP 7+ with OpenSSL enabled
- Advanced Custom Fields plugin (If encrypting ACF fields)
Installation
Download and unzip the plugin direcrtory inside of the plugins folder and activate plugin
Define the ENCRYPT_DB_FIELDS_SECRET_KEY constant inside of wp-config.php
/** ACF Encrypt Field Option Key */
define('ENCRYPT_DB_FIELDS_SECRET_KEY', 'your key here');
For usermeta field encryption declare the meta keys you want to be encrypted as follows
define('ENCRYPT_DB_FIELDS_META_KEYS', [
'sensitive_data',
'private_notes',
'confidential_info',
]);
Screen Shots
ACF Field Options

Releases
4 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.