get_****_meta()
{post_ID}
or {user_ID}
or {comment_ID}
part is the object ID which can be static (like just 365783
) or can be a merge tag. If you are using merge tags for this part, like in the examples, please make sure you can see this merge tag in the sidebar. So if you choose the Book updated trigger, the {post_ID}
will become {book_ID}
.user_email
key, you just need to do it like this:acf
or usermeta
Merge Tags.xprofile
Merge Tag, see the below examples.:
character.email
key you just need to pass the array key after the colon:user_email
key, you just need to do it like this:post_title
or display_name
.$key
and $single
arguments are optional. If you omit the $key
argument all the post meta is retrieved. This is an equivalent of get_post_meta
function.$single
will evaluate to boolean, so you can write any of: on
, true
, 1
, yes
, etc.$key
and $single
arguments are optional. If you omit the $key
argument all the term meta is retrieved. This is an equivalent of get_term_meta
function.$single
will evaluate to boolean, so you can write any of: on
, true
, 1
, yes
, etc.$key
and $single
arguments are optional. If you omit the $key
argument all the user meta is retrieved. This is an equivalent of get_term_meta
function.$single
will evaluate to boolean, so you can write any of: on
, true
, 1
, yes
, etc.name
key from this array:$true
String to return when the value is evaluated to true
$false
String to return when the value is evaluated to false
print_r()
function and wrapped with <pre>
tags. Example:Yes
or No
by default.related_post
field (stored post ID) where another related post can be selected. The related post has a field where owner
can be selected and this returns the user ID. To get this user email:{postmeta {post_ID} related_post
- gets the initial value of the related post, post ID is retrieved|postmeta,owner,true
- related post ID is used to get the meta key owner
and true
means the single value should be returned. We get the User ID.|user:user_email
- user ID is used to get the whole user representation. We access the user_email
array key to get the email