Home › Forums › General Issues › Retrieve all possible field options › Reply To: Retrieve all possible field options
Yes, just use the
get_field_object to find the $field array. Within that array you will see the field’s
This function uses a
$field_name parameter, but you may also need to specify a
$post_id parameter of a post where this field has saved a value. If this is not possible, please use the
$field_key instead of the
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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.