diff --git a/src/Directives/ACF.php b/src/Directives/ACF.php index ed3100b..232cbc1 100644 --- a/src/Directives/ACF.php +++ b/src/Directives/ACF.php @@ -65,7 +65,7 @@ return "get(0)}, {$expression->get(2)})[{$expression->get(1)}]; ?>"; } - if (! is_string($expression->get(1))) { + if (! is_string($expression->get(1)) || Util::strip($expression->get(1)) == "option") { return "get(0)}, {$expression->get(1)}); ?>"; }