JetEngine - custom user meta storage
Integrates JetEngine Custom Meta Storage feature and User Meta.
by Crocoblock · github.com/mjhead/jet-engine-custom-user-meta-storage · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mjhead/jet-engine-custom-user-meta-storage/archive/refs/heads/main.zipIntegrates JetEngine Custom Meta Storage feature (https://crocoblock.com/knowledge-base/jetengine/how-to-create-custom-meta-storage-for-cpt/) and User Meta.
Usage:
- Make sure you updated JetEngine plugin to the version 3.5.3 or higher
- Download and install as usual WP plugin
- Add the next code into the your active theme
functions.phpfile or with any code snippet plugin:
add_action( 'init', function() {
define( 'JET_ENGINE_CUSTOM_USER_META_FIELDS', [ 'test_user_field', 'another_field' ] );
} );
Where 'test_user_field', 'another_field' - is a list of the user meta fields you want to store in the separate table.
Please note!
All the fields not metioned in the list will be stored in the default usermeta table