The plugin doesn’t support that directly.
You might be able to do it by coding your own custom filter function.
Thanks for the suggestion and the plugin “Shortcodes Actions and Filters”.
That did the job.
For those wanting to do same:
1) Created a function:
require_once(ABSPATH . ‘wp-content/plugins/contact-form-7-to-database-extension/CFDBPermittedFunctions.php’);
function user_appartement()
{
$user_id = get_current_user_id(); $key = ‘appartement’; $single = true;
$appartement = get_user_meta( $user_id, $key, $single );
return $appartement;
}
cfdb_register_function(‘user_appartement’);
2) Used the function in Filter:
[cfdb-table form=”xxx” filter=”Appartement=user_appartement()”]