Get custom field value list
-
Hi, i need a quick example on how to get current post custom field. I have a custom field array but when i create my filter i always get key value (1,2,3) instead of array value:
function cf7_dynamic_select_do_example1($choices, $args=array()) { $choices = get_field('prod_esecuzione'); return $choices; } add_filter('fi-dyn-esecuzione', 'cf7_dynamic_select_do_example1', 10, 2);I always get 0,1,2,3 instead of value
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Get custom field value list’ is closed to new replies.