You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get a field of a specific post, but when I use the directive like this @field('location', $element->ID) it returns the get_field function like this:
<?= get_field('location')[3205]; ?>
This happens because when Util::parse($expression); is used, it makes all the parameters to string and the check on line 68 is !is_string() when actually should be is_numeric().
The text was updated successfully, but these errors were encountered:
I'm trying to get a field of a specific post, but when I use the directive like this
@field('location', $element->ID)
it returns the get_field function like this:<?= get_field('location')[3205]; ?>
This happens because when Util::parse($expression); is used, it makes all the parameters to string and the check on line 68 is
!is_string()
when actually should beis_numeric()
.The text was updated successfully, but these errors were encountered: