WP 3.9 get_field() doesn't work
-
So after I updated my localhost WP setup to 3.9 the get_field() function is acting weird…
I used to have a slider and iterate through each slide, but now the function returns a number instead of an array.
<?php $rows = get_field('slider'); foreach($rows as $row) {Now I get INVALID ARGUMENT SUPPLIED FOR FOREACH()
Any ideas?
The topic ‘WP 3.9 get_field() doesn't work’ is closed to new replies.