Home › Forums › Add-ons › Repeater Field › get_post_custom_values › Reply To: get_post_custom_values
Lets move away from sub & repeater fields.
How about using basic text or url fields with the same key.
With WP fields, i could use 1 custom field to add 5 different values
get_post_meta( get_the_ID(), 'logos', true );
And then this to get all the values
$key = get_post_custom_values( 'logos' );
How do i do this with ACF text or URL fields?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🤔 Curious about the ACF user experience? So are we! Help guide the evolution of ACF by taking part in our first ever Annual Survey and guarantee you’re represented in the results. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 8, 2023
© 2023 Advanced Custom Fields.