Accessing ACF Repeater for current user
-
Hello,
I have ACF fields set on users, including an ACF Repeater, and try to output the fields values on the current user’s WooCommerce account page.
First, i grab the current user using CCS
[pass]
.
Then i try to output the fields values: it works for a simple ACF field like ACF Text, , but not for an ACF Repeater.Here’s my code:
[pass user_fields=my_user_text,my_user_repeater,my_user_repeater_text] my_user_text: {MY_USER_TEXT}<br> [repeater {MY_USER_REPEATER}] my_user_repeater_text: {MY_USER_REPEATER_TEXT}<br> [/repeater] [/pass]
my_user_text
outputs the ACF Text value alright.
my_user_repeater
andmy_user_repeater_text
don’t.Any help would be appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Accessing ACF Repeater for current user’ is closed to new replies.