Custom Merge Tag for User-Meta
-
Hi,
I locked at your documentation for “Adding custom Merge Tag”
https://docs.bracketspace.com/notification/developer/triggers/adding-merge-tags-to-existing-triggersCould you please tell me how I could modify the propose code snippet in order to make a “Custom Merge Tag” for a specific User-Meta.
Example : User-meta “Appartement”
I get the “Appartement” using the following code:
$user_id = get_current_user_id();
$key = ‘appartement’;
$single = true;
$appartement = get_user_meta( $user_id, $key, $single );How do I incorporate my code into your code snippet to make it work ?
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.